#21798B#21798B
#21798B is a mid, moderate cyan. Relative luminance 0.159; OKLCH L 53.4% C 0.084 H 214.7°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #21798B |
|---|---|
| RGB | rgb(33, 121, 139) |
| HSL | hsl(190, 62%, 34%) |
| HSV | hsv(190, 76%, 55%) |
| CMYK | cmyk(76.3%, 12.9%, 0%, 45.5%) |
| CIE-LAB | lab(46.79, -18.97, -17.15) |
| CIE-LCH | lch(46.79, 25.57, 222.12°) |
| OKLab | oklab(53.38% -0.069 -0.0478) |
| OKLCH | oklch(53.38% 0.084 214.7) |
| XYZ | xyz(12.1228, 15.8607, 26.8436) |
| Luminance | 0.1586 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Ocean
#017B92
ΔE00 1.81
Deep Aqua
#08787F
ΔE00 5.41
Teal Blue
#01889F
ΔE00 5.65
Sea Blue
#047495
ΔE00 5.70
Dirty Blue
#3F829D
ΔE00 6.51
Deep Turquoise
#017374
ΔE00 8.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21798B #8B3321
analogous
#218B68 #21798B #21448B
triadic
#21798B #8B2179 #798B21
tetradic
#21798B #68218B #8B3321 #448B21
square
#21798B #68218B #8B3321 #448B21
split-complementary
#21798B #8B2144 #8B6821
monochromatic
#0A2328 #154E5A #21798B #2DA4BC #51BFD6
Accessibility & contrast
On white
5.03
#21798B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#21798B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21798B
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21798B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21798B | 1.00 | 5.03 | 4.17 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C758C
Deuteranopia (green-blind)
#5E6A8B
Tritanopia (blue-blind)
#00807F
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #21798b; /* rgb */ color: rgb(33, 121, 139); /* oklch */ color: oklch(53.4% 0.084 214.7);
Tailwind
colors: {
custom: {
50: '#6ea0ad',
500: '#21798b',
950: '#000000',
},
}SCSS
$custom: #21798b; $custom-light: #6ea0ad; $custom-dark: #000000;
JSON
{
"hex": "#21798b",
"rgb": {
"r": 33,
"g": 121,
"b": 139
},
"hsl": {
"h": 190.189,
"s": 61.628,
"l": 33.725
},
"oklch": {
"l": 0.53379,
"c": 0.08398,
"h": 214.7
},
"luminance": 0.15862
}Semantic roles & 50–950 ramp
primary
#21798B
secondary
#B9614F
accent
#5F43E5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F