#21799F#21799F
#21799F is a mid, moderate cyan. Relative luminance 0.165; OKLCH L 54.3% C 0.099 H 231.9°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #21799F |
|---|---|
| RGB | rgb(33, 121, 159) |
| HSL | hsl(198, 66%, 38%) |
| HSV | hsv(198, 79%, 62%) |
| CMYK | cmyk(79.2%, 23.9%, 0%, 37.6%) |
| CIE-LAB | lab(47.62, -11.95, -27.64) |
| CIE-LCH | lch(47.62, 30.11, 246.62°) |
| OKLab | oklab(54.32% -0.0611 -0.0778) |
| OKLCH | oklch(54.32% 0.099 231.9) |
| XYZ | xyz(13.7200, 16.4996, 35.2558) |
| Luminance | 0.1650 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Cerulean
#007BA7
ΔE00 1.57
Sea Blue
#047495
ΔE00 3.23
Ocean Blue (survey)
#03719C
ΔE00 3.31
Nice Blue
#107AB0
ΔE00 4.00
Dirty Blue
#3F829D
ΔE00 4.89
Stormy Blue
#507B9C
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21799F #9F4721
analogous
#219F86 #21799F #213A9F
triadic
#21799F #9F2179 #799F21
tetradic
#21799F #86219F #9F4721 #3A9F21
square
#21799F #86219F #9F4721 #3A9F21
split-complementary
#21799F #9F213A #9F8621
monochromatic
#0C2C3A #16526C #21799F #2CA0D2 #5DB7DD
Accessibility & contrast
On white
4.88
#21799F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#21799F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21799F
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21799F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21799F | 1.00 | 4.88 | 4.30 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6678A1
Deuteranopia (green-blind)
#556C9E
Tritanopia (blue-blind)
#008386
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #21799f; /* rgb */ color: rgb(33, 121, 159); /* oklch */ color: oklch(54.3% 0.099 231.9);
Tailwind
colors: {
custom: {
50: '#719fbb',
500: '#21799f',
950: '#000000',
},
}SCSS
$custom: #21799f; $custom-light: #719fbb; $custom-dark: #000000;
JSON
{
"hex": "#21799f",
"rgb": {
"r": 33,
"g": 121,
"b": 159
},
"hsl": {
"h": 198.095,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.54321,
"c": 0.09896,
"h": 231.9
},
"luminance": 0.16501
}Semantic roles & 50–950 ramp
primary
#21799F
secondary
#C2795A
accent
#723FE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E12
muted
#7B7E81