#798FD2 color
#798FD2 is a light, moderately saturated blue, closest to the CSS named color cornflowerblue (#6495ED).
Color values
| HEX | #798FD2 |
| RGB | rgb(121, 143, 210) |
| HSL | hsl(225, 50%, 65%) |
| CMYK | cmyk(42%, 32%, 0%, 18%) |
| Decimal | 7966674 |
| CSS | color: #798FD2; |
| Android | 0xFF798FD2 |
| Swift | UIColor(red: 0.475, green: 0.561, blue: 0.824, alpha: 1) |
Accessibility and contrast
| White text on #798FD2 | 3.15:1 — AA fail · AA large pass · AAA fail |
| Black text on #798FD2 | 6.67:1 — AA pass · AA large pass · AAA fail |
| Recommended text color | black |
WCAG 2.1 asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).
Tints and shades of #798FD2
Each swatch keeps the hue and saturation of #798FD2 and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #798FD2
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #798FD2 in code
/* CSS */
.element { color: #798FD2; background-color: #798FD2; }
.element { color: rgb(121 143 210); }
.element { color: hsl(225 50% 65%); }
/* Tailwind arbitrary value */
<div class="bg-[#798FD2] text-black">
/* SCSS variable */
$brand: #798FD2;
Frequently asked questions
What color is #798FD2?
#798FD2 is a light, moderately saturated blue. Its hue sits at 225° on the color wheel, with 50% saturation and 65% lightness.
What is #798FD2 in RGB?
#798FD2 converts to rgb(121, 143, 210) — 121 red, 143 green and 210 blue.
What is #798FD2 in CMYK?
Approximately cmyk(42%, 32%, 0%, 18%). Print output depends on the ICC profile of the press and paper, so treat this as a starting point rather than an exact match.
Should text on #798FD2 be white or black?
Black gives the better contrast ratio (6.67:1 versus 3.15:1).
What is the complementary color of #798FD2?
#D2BC79 — the hue directly opposite #798FD2 on the color wheel.