#798BB2#798BB2
#798BB2 is a light, moderate blue. Relative luminance 0.257; OKLCH L 63.7% C 0.062 H 265.4°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #798BB2 |
|---|---|
| RGB | rgb(121, 139, 178) |
| HSL | hsl(221, 27%, 59%) |
| HSV | hsv(221, 32%, 70%) |
| CMYK | cmyk(32%, 21.9%, 0%, 30.2%) |
| CIE-LAB | lab(57.79, 2.93, -22.57) |
| CIE-LCH | lch(57.79, 22.76, 277.40°) |
| OKLab | oklab(63.71% -0.005 -0.0623) |
| OKLCH | oklch(63.71% 0.062 265.4) |
| XYZ | xyz(25.1513, 25.7436, 45.7547) |
| Luminance | 0.2575 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Faded Blue
#658CBB
ΔE00 5.75
Blue Grey
#758DA3
ΔE00 6.98
Lightslategray
#778899
ΔE00 7.97
Dusty Blue
#5A86AD
ΔE00 7.99
Off Blue
#5684AE
ΔE00 8.39
Perrywinkle
#8F8CE7
ΔE00 8.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#798BB2 #B2A079
analogous
#79A7B2 #798BB2 #8379B2
triadic
#798BB2 #B2798B #8BB279
tetradic
#798BB2 #B279A7 #B2A079 #79B283
square
#798BB2 #B279A7 #B2A079 #79B283
split-complementary
#798BB2 #B28379 #A7B279
monochromatic
#405070 #576B97 #798BB2 #A0ADC8 #C7CEDF
Accessibility & contrast
On white
3.42
#798BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.15
#798BB2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #798BB2
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##798BB2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##798BB2 | 1.00 | 3.42 | 6.15 | 6.15 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E8EB4
Deuteranopia (green-blind)
#7989B1
Tritanopia (blue-blind)
#699398
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #798bb2; /* rgb */ color: rgb(121, 139, 178); /* oklch */ color: oklch(63.7% 0.062 265.4);
Tailwind
colors: {
custom: {
50: '#a1acc9',
500: '#798bb2',
950: '#000000',
},
}SCSS
$custom: #798bb2; $custom-light: #a1acc9; $custom-dark: #000000;
JSON
{
"hex": "#798bb2",
"rgb": {
"r": 121,
"g": 139,
"b": 178
},
"hsl": {
"h": 221.053,
"s": 27.014,
"l": 58.627
},
"oklch": {
"l": 0.63706,
"c": 0.06249,
"h": 265.4
},
"luminance": 0.25745
}Semantic roles & 50–950 ramp
primary
#798BB2
secondary
#CFC8B8
accent
#A564C3
background
#FAFAFC
surface
#F3F4F8
border
#CDCED1
text
#0F1013
muted
#7F7F82