#797F95#797F95
#797F95 is a mid, muted blue. Relative luminance 0.214; OKLCH L 59.9% C 0.034 H 273.3°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #797F95 |
|---|---|
| RGB | rgb(121, 127, 149) |
| HSL | hsl(227, 12%, 53%) |
| HSV | hsv(227, 19%, 58%) |
| CMYK | cmyk(18.8%, 14.8%, 0%, 41.6%) |
| CIE-LAB | lab(53.40, 2.65, -12.57) |
| CIE-LCH | lch(53.40, 12.84, 281.90°) |
| OKLab | oklab(59.92% 0.002 -0.0342) |
| OKLCH | oklch(59.92% 0.034 273.3) |
| XYZ | xyz(20.8980, 21.4132, 31.4601) |
| Luminance | 0.2141 (WCAG relative) |
| Temperature | neutral |
| Family | blue |
Closest named colors
Slate Gray
#708090
ΔE00 6.26
Lightslategray
#778899
ΔE00 6.75
Steel
#738595
ΔE00 7.12
Blue Grey
#758DA3
ΔE00 8.51
Flint
#6F7A80
ΔE00 9.38
Grey Blue
#647D8E
ΔE00 9.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797F95 #958F79
analogous
#798D95 #797F95 #817995
triadic
#797F95 #95797F #7F9579
tetradic
#797F95 #95798D #958F79 #799581
square
#797F95 #95798D #958F79 #799581
split-complementary
#797F95 #958179 #8D9579
monochromatic
#414552 #5C6175 #797F95 #9BA0B0 #BDC0CB
Accessibility & contrast
On white
3.98
#797F95 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.28
#797F95 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797F95
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797F95 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797F95 | 1.00 | 3.98 | 5.28 | 5.28 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#798196
Deuteranopia (green-blind)
#777F94
Tritanopia (blue-blind)
#738386
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #797f95; /* rgb */ color: rgb(121, 127, 149); /* oklch */ color: oklch(59.9% 0.034 273.3);
Tailwind
colors: {
custom: {
50: '#a0a4b4',
500: '#797f95',
950: '#000000',
},
}SCSS
$custom: #797f95; $custom-light: #a0a4b4; $custom-dark: #000000;
JSON
{
"hex": "#797f95",
"rgb": {
"r": 121,
"g": 127,
"b": 149
},
"hsl": {
"h": 227.143,
"s": 11.667,
"l": 52.941
},
"oklch": {
"l": 0.59919,
"c": 0.03422,
"h": 273.3
},
"luminance": 0.21414
}Semantic roles & 50–950 ramp
primary
#797F95
secondary
#BBB8AF
accent
#A773B5
background
#F9FAFB
surface
#F2F4F6
border
#CCCED0
text
#0E0F11
muted
#7E7F80