#798AB2#798AB2
#798AB2 is a light, moderate blue. Relative luminance 0.255; OKLCH L 63.5% C 0.064 H 266.7°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #798AB2 |
|---|---|
| RGB | rgb(121, 138, 178) |
| HSL | hsl(222, 27%, 59%) |
| HSV | hsv(222, 32%, 70%) |
| CMYK | cmyk(32%, 22.5%, 0%, 30.2%) |
| CIE-LAB | lab(57.52, 3.51, -23.00) |
| CIE-LCH | lch(57.52, 23.26, 278.68°) |
| OKLab | oklab(63.49% -0.0037 -0.0635) |
| OKLCH | oklch(63.49% 0.064 266.7) |
| XYZ | xyz(25.0072, 25.4553, 45.7066) |
| Luminance | 0.2546 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Faded Blue
#658CBB
ΔE00 6.05
Blue Grey
#758DA3
ΔE00 7.40
Dusty Blue
#5A86AD
ΔE00 8.26
Lightslategray
#778899
ΔE00 8.29
Perrywinkle
#8F8CE7
ΔE00 8.59
Off Blue
#5684AE
ΔE00 8.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#798AB2 #B2A179
analogous
#79A6B2 #798AB2 #8479B2
triadic
#798AB2 #B2798A #8AB279
tetradic
#798AB2 #B279A6 #B2A179 #79B284
square
#798AB2 #B279A6 #B2A179 #79B284
split-complementary
#798AB2 #B28479 #A6B279
monochromatic
#404F70 #576A97 #798AB2 #A0ACC8 #C7CEDF
Accessibility & contrast
On white
3.45
#798AB2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.09
#798AB2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #798AB2
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##798AB2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##798AB2 | 1.00 | 3.45 | 6.09 | 6.09 |
| #FFFFFF | 3.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D8DB4
Deuteranopia (green-blind)
#7888B1
Tritanopia (blue-blind)
#699298
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #798ab2; /* rgb */ color: rgb(121, 138, 178); /* oklch */ color: oklch(63.5% 0.064 266.7);
Tailwind
colors: {
custom: {
50: '#a1acc9',
500: '#798ab2',
950: '#000000',
},
}SCSS
$custom: #798ab2; $custom-light: #a1acc9; $custom-dark: #000000;
JSON
{
"hex": "#798ab2",
"rgb": {
"r": 121,
"g": 138,
"b": 178
},
"hsl": {
"h": 222.105,
"s": 27.014,
"l": 58.627
},
"oklch": {
"l": 0.6349,
"c": 0.0636,
"h": 266.7
},
"luminance": 0.25456
}Semantic roles & 50–950 ramp
primary
#798AB2
secondary
#CFC8B8
accent
#A764C3
background
#FAFAFC
surface
#F3F4F8
border
#CDCED1
text
#0F1013
muted
#7F7F82