#798CAB#798CAB
#798CAB is a light, muted blue. Relative luminance 0.258; OKLCH L 63.6% C 0.052 H 260.1°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #798CAB |
|---|---|
| RGB | rgb(121, 140, 171) |
| HSL | hsl(217, 23%, 57%) |
| HSV | hsv(217, 29%, 67%) |
| CMYK | cmyk(29.2%, 18.1%, 0%, 32.9%) |
| CIE-LAB | lab(57.81, 0.55, -18.56) |
| CIE-LCH | lch(57.81, 18.57, 271.70°) |
| OKLab | oklab(63.63% -0.0088 -0.051) |
| OKLCH | oklch(63.63% 0.052 260.1) |
| XYZ | xyz(24.6118, 25.7605, 42.1957) |
| Luminance | 0.2576 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Grey
#758DA3
ΔE00 4.70
Lightslategray
#778899
ΔE00 5.61
Faded Blue
#658CBB
ΔE00 5.67
Steel
#738595
ΔE00 6.64
Dusty Blue
#5A86AD
ΔE00 7.22
Slate Gray
#708090
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#798CAB #AB9879
analogous
#79A5AB #798CAB #7F79AB
triadic
#798CAB #AB798C #8CAB79
tetradic
#798CAB #AB79A5 #AB9879 #79AB7F
square
#798CAB #AB79A5 #AB9879 #79AB7F
split-complementary
#798CAB #AB7F79 #A5AB79
monochromatic
#415068 #596D8E #798CAB #9FACC3 #C4CDDA
Accessibility & contrast
On white
3.41
#798CAB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.15
#798CAB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #798CAB
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##798CAB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##798CAB | 1.00 | 3.41 | 6.15 | 6.15 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#828EAC
Deuteranopia (green-blind)
#7C89AA
Tritanopia (blue-blind)
#6B9296
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #798cab; /* rgb */ color: rgb(121, 140, 171); /* oklch */ color: oklch(63.6% 0.052 260.1);
Tailwind
colors: {
custom: {
50: '#a1adc4',
500: '#798cab',
950: '#000000',
},
}SCSS
$custom: #798cab; $custom-light: #a1adc4; $custom-dark: #000000;
JSON
{
"hex": "#798cab",
"rgb": {
"r": 121,
"g": 140,
"b": 171
},
"hsl": {
"h": 217.2,
"s": 22.936,
"l": 57.255
},
"oklch": {
"l": 0.63632,
"c": 0.05172,
"h": 260.1
},
"luminance": 0.25761
}Semantic roles & 50–950 ramp
primary
#798CAB
secondary
#CAC2B6
accent
#9E68BF
background
#F9FAFC
surface
#F2F4F8
border
#CCCED1
text
#0F1012
muted
#7E7F81