#797FAA#797FAA
#797FAA is a mid, moderate blue. Relative luminance 0.221; OKLCH L 60.8% C 0.066 H 278.1°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #797FAA |
|---|---|
| RGB | rgb(121, 127, 170) |
| HSL | hsl(233, 22%, 57%) |
| HSV | hsv(233, 29%, 67%) |
| CMYK | cmyk(28.8%, 25.3%, 0%, 33.3%) |
| CIE-LAB | lab(54.18, 7.84, -23.54) |
| CIE-LCH | lch(54.18, 24.81, 288.43°) |
| OKLab | oklab(60.79% 0.0092 -0.065) |
| OKLCH | oklch(60.79% 0.066 278.1) |
| XYZ | xyz(22.7283, 22.1453, 41.0994) |
| Luminance | 0.2215 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Faded Blue
#658CBB
ΔE00 10.10
Perrywinkle
#8F8CE7
ΔE00 10.71
Lightslategray
#778899
ΔE00 10.83
Slate Gray
#708090
ΔE00 10.93
Blue Grey
#758DA3
ΔE00 10.96
Slate Blue (survey)
#5B7C99
ΔE00 11.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797FAA #AAA479
analogous
#7998AA #797FAA #8C79AA
triadic
#797FAA #AA797F #7FAA79
tetradic
#797FAA #AA7998 #AAA479 #79AA8C
square
#797FAA #AA7998 #AAA479 #79AA8C
split-complementary
#797FAA #AA8C79 #98AA79
monochromatic
#414667 #595F8D #797FAA #9EA3C2 #C4C7DA
Accessibility & contrast
On white
3.87
#797FAA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.43
#797FAA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797FAA
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797FAA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797FAA | 1.00 | 3.87 | 5.43 | 5.43 |
| #FFFFFF | 3.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7383AC
Deuteranopia (green-blind)
#7080A9
Tritanopia (blue-blind)
#6D878E
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #797faa; /* rgb */ color: rgb(121, 127, 170); /* oklch */ color: oklch(60.8% 0.066 278.1);
Tailwind
colors: {
custom: {
50: '#a1a4c3',
500: '#797faa',
950: '#000000',
},
}SCSS
$custom: #797faa; $custom-light: #a1a4c3; $custom-dark: #000000;
JSON
{
"hex": "#797faa",
"rgb": {
"r": 121,
"g": 127,
"b": 170
},
"hsl": {
"h": 232.653,
"s": 22.374,
"l": 57.059
},
"oklch": {
"l": 0.60787,
"c": 0.06564,
"h": 278.1
},
"luminance": 0.22146
}Semantic roles & 50–950 ramp
primary
#797FAA
secondary
#C9C7B5
accent
#B469BF
background
#F9FAFC
surface
#F2F3F8
border
#CCCDD1
text
#0F0F12
muted
#7E7F81