#797FA3#797FA3
#797FA3 is a mid, muted blue. Relative luminance 0.219; OKLCH L 60.5% C 0.055 H 277.2°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #797FA3 |
|---|---|
| RGB | rgb(121, 127, 163) |
| HSL | hsl(231, 19%, 56%) |
| HSV | hsv(231, 26%, 64%) |
| CMYK | cmyk(25.8%, 22.1%, 0%, 36.1%) |
| CIE-LAB | lab(53.91, 6.06, -19.92) |
| CIE-LCH | lch(53.91, 20.82, 286.92°) |
| OKLab | oklab(60.48% 0.007 -0.0547) |
| OKLCH | oklch(60.48% 0.055 277.2) |
| XYZ | xyz(22.0837, 21.8875, 37.7044) |
| Luminance | 0.2189 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Slate Gray
#708090
ΔE00 9.90
Lightslategray
#778899
ΔE00 9.94
Steel
#738595
ΔE00 10.50
Blue Grey
#758DA3
ΔE00 10.55
Faded Blue
#658CBB
ΔE00 10.60
Greyish Purple
#887191
ΔE00 10.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797FA3 #A39D79
analogous
#7994A3 #797FA3 #8879A3
triadic
#797FA3 #A3797F #7FA379
tetradic
#797FA3 #A37994 #A39D79 #79A388
square
#797FA3 #A37994 #A39D79 #79A388
split-complementary
#797FA3 #A38879 #94A379
monochromatic
#424660 #5B6184 #797FA3 #9DA2BC #C2C4D5
Accessibility & contrast
On white
3.91
#797FA3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.38
#797FA3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797FA3
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797FA3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797FA3 | 1.00 | 3.91 | 5.38 | 5.38 |
| #FFFFFF | 3.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7583A5
Deuteranopia (green-blind)
#727FA2
Tritanopia (blue-blind)
#6F868B
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #797fa3; /* rgb */ color: rgb(121, 127, 163); /* oklch */ color: oklch(60.5% 0.055 277.2);
Tailwind
colors: {
custom: {
50: '#a0a4be',
500: '#797fa3',
950: '#000000',
},
}SCSS
$custom: #797fa3; $custom-light: #a0a4be; $custom-dark: #000000;
JSON
{
"hex": "#797fa3",
"rgb": {
"r": 121,
"g": 127,
"b": 163
},
"hsl": {
"h": 231.429,
"s": 18.584,
"l": 55.686
},
"oklch": {
"l": 0.60484,
"c": 0.05516,
"h": 277.2
},
"luminance": 0.21888
}Semantic roles & 50–950 ramp
primary
#797FA3
secondary
#C5C2B3
accent
#B06DBB
background
#F9FAFB
surface
#F2F3F6
border
#CCCDD0
text
#0F0F12
muted
#7E7F81