#21798F#21798F
#21798F is a mid, moderate cyan. Relative luminance 0.160; OKLCH L 53.6% C 0.086 H 218.6°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #21798F |
|---|---|
| RGB | rgb(33, 121, 143) |
| HSL | hsl(192, 63%, 35%) |
| HSV | hsv(192, 77%, 56%) |
| CMYK | cmyk(76.9%, 15.4%, 0%, 43.9%) |
| CIE-LAB | lab(46.95, -17.60, -19.27) |
| CIE-LCH | lch(46.95, 26.10, 227.60°) |
| OKLab | oklab(53.56% -0.0674 -0.0538) |
| OKLCH | oklch(53.56% 0.086 218.6) |
| XYZ | xyz(12.4204, 15.9798, 28.4111) |
| Luminance | 0.1598 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Ocean
#017B92
ΔE00 1.41
Sea Blue
#047495
ΔE00 4.22
Dirty Blue
#3F829D
ΔE00 5.38
Teal Blue
#01889F
ΔE00 5.61
Deep Aqua
#08787F
ΔE00 7.01
Cerulean
#007BA7
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21798F #8F3721
analogous
#218F6E #21798F #21428F
triadic
#21798F #8F2179 #798F21
tetradic
#21798F #6E218F #8F3721 #428F21
square
#21798F #6E218F #8F3721 #428F21
split-complementary
#21798F #8F2142 #8F6E21
monochromatic
#0A252C #164F5D #21798F #2CA3C1 #53BDD7
Accessibility & contrast
On white
5.00
#21798F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#21798F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21798F
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21798F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21798F | 1.00 | 5.00 | 4.20 | 5.00 |
| #FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B7590
Deuteranopia (green-blind)
#5C6B8F
Tritanopia (blue-blind)
#008080
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #21798f; /* rgb */ color: rgb(33, 121, 143); /* oklch */ color: oklch(53.6% 0.086 218.6);
Tailwind
colors: {
custom: {
50: '#6ea0af',
500: '#21798f',
950: '#000000',
},
}SCSS
$custom: #21798f; $custom-light: #6ea0af; $custom-dark: #000000;
JSON
{
"hex": "#21798f",
"rgb": {
"r": 33,
"g": 121,
"b": 143
},
"hsl": {
"h": 192,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.53557,
"c": 0.08624,
"h": 218.6
},
"luminance": 0.15981
}Semantic roles & 50–950 ramp
primary
#21798F
secondary
#BB6651
accent
#6342E6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F