#21799E#21799E
#21799E is a mid, moderate cyan. Relative luminance 0.165; OKLCH L 54.3% C 0.098 H 231.2°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #21799E |
|---|---|
| RGB | rgb(33, 121, 158) |
| HSL | hsl(198, 65%, 37%) |
| HSV | hsv(198, 79%, 62%) |
| CMYK | cmyk(79.1%, 23.4%, 0%, 38%) |
| CIE-LAB | lab(47.58, -12.31, -27.12) |
| CIE-LCH | lch(47.58, 29.79, 245.59°) |
| OKLab | oklab(54.27% -0.0615 -0.0763) |
| OKLCH | oklch(54.27% 0.098 231.2) |
| XYZ | xyz(13.6336, 16.4650, 34.8006) |
| Luminance | 0.1647 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Cerulean
#007BA7
ΔE00 1.79
Sea Blue
#047495
ΔE00 2.98
Ocean Blue (survey)
#03719C
ΔE00 3.44
Nice Blue
#107AB0
ΔE00 4.35
Dirty Blue
#3F829D
ΔE00 4.73
Stormy Blue
#507B9C
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21799E #9E4621
analogous
#219E85 #21799E #213B9E
triadic
#21799E #9E2179 #799E21
tetradic
#21799E #85219E #9E4621 #3B9E21
square
#21799E #85219E #9E4621 #3B9E21
split-complementary
#21799E #9E213B #9E8521
monochromatic
#0C2B39 #16526B #21799E #2CA0D1 #5CB7DD
Accessibility & contrast
On white
4.89
#21799E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#21799E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21799E
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21799E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21799E | 1.00 | 4.89 | 4.29 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6677A0
Deuteranopia (green-blind)
#566C9D
Tritanopia (blue-blind)
#008385
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #21799e; /* rgb */ color: rgb(33, 121, 158); /* oklch */ color: oklch(54.3% 0.098 231.2);
Tailwind
colors: {
custom: {
50: '#719fba',
500: '#21799e',
950: '#000000',
},
}SCSS
$custom: #21799e; $custom-light: #719fba; $custom-dark: #000000;
JSON
{
"hex": "#21799e",
"rgb": {
"r": 33,
"g": 121,
"b": 158
},
"hsl": {
"h": 197.76,
"s": 65.445,
"l": 37.451
},
"oklch": {
"l": 0.5427,
"c": 0.09801,
"h": 231.2
},
"luminance": 0.16467
}Semantic roles & 50–950 ramp
primary
#21799E
secondary
#C17859
accent
#713FE8
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80