#798AA2#798AA2
#798AA2 is a light, muted blue. Relative luminance 0.249; OKLCH L 62.8% C 0.041 H 257.0°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #798AA2 |
|---|---|
| RGB | rgb(121, 138, 162) |
| HSL | hsl(215, 18%, 55%) |
| HSV | hsv(215, 25%, 64%) |
| CMYK | cmyk(25.3%, 14.8%, 0%, 36.5%) |
| CIE-LAB | lab(56.93, -0.56, -14.74) |
| CIE-LCH | lch(56.93, 14.75, 267.83°) |
| OKLab | oklab(62.83% -0.0093 -0.0403) |
| OKLCH | oklch(62.83% 0.041 257) |
| XYZ | xyz(23.4934, 24.8498, 37.7341) |
| Luminance | 0.2485 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Grey
#758DA3
ΔE00 3.19
Lightslategray
#778899
ΔE00 3.22
Steel
#738595
ΔE00 4.32
Slate Gray
#708090
ΔE00 5.09
Greyish Blue
#5E819D
ΔE00 6.76
Bluish Grey
#748B97
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#798AA2 #A29179
analogous
#799EA2 #798AA2 #7C79A2
triadic
#798AA2 #A2798A #8AA279
tetradic
#798AA2 #A2799E #A29179 #79A27C
square
#798AA2 #A2799E #A29179 #79A27C
split-complementary
#798AA2 #A27C79 #9EA279
monochromatic
#424E5F #5B6B83 #798AA2 #9DAABB #C1C9D4
Accessibility & contrast
On white
3.52
#798AA2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.97
#798AA2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #798AA2
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##798AA2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##798AA2 | 1.00 | 3.52 | 5.97 | 5.97 |
| #FFFFFF | 3.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#828BA3
Deuteranopia (green-blind)
#7D87A1
Tritanopia (blue-blind)
#6E8F92
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #798aa2; /* rgb */ color: rgb(121, 138, 162); /* oklch */ color: oklch(62.8% 0.041 257.0);
Tailwind
colors: {
custom: {
50: '#a0acbd',
500: '#798aa2',
950: '#000000',
},
}SCSS
$custom: #798aa2; $custom-light: #a0acbd; $custom-dark: #000000;
JSON
{
"hex": "#798aa2",
"rgb": {
"r": 121,
"g": 138,
"b": 162
},
"hsl": {
"h": 215.122,
"s": 18.062,
"l": 55.49
},
"oklch": {
"l": 0.62835,
"c": 0.04134,
"h": 257
},
"luminance": 0.24851
}Semantic roles & 50–950 ramp
primary
#798AA2
secondary
#C4BDB3
accent
#9B6DBB
background
#F9FAFB
surface
#F2F4F6
border
#CCCED0
text
#0F1012
muted
#7E7F81