#21788F#21788F
#21788F is a mid, moderate cyan. Relative luminance 0.157; OKLCH L 53.3% C 0.086 H 219.8°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #21788F |
|---|---|
| RGB | rgb(33, 120, 143) |
| HSL | hsl(193, 63%, 35%) |
| HSV | hsv(193, 77%, 56%) |
| CMYK | cmyk(76.9%, 16.1%, 0%, 43.9%) |
| CIE-LAB | lab(46.63, -17.05, -19.76) |
| CIE-LCH | lch(46.63, 26.10, 229.21°) |
| OKLab | oklab(53.3% -0.0663 -0.0552) |
| OKLCH | oklch(53.3% 0.086 219.8) |
| XYZ | xyz(12.2995, 15.7380, 28.3708) |
| Luminance | 0.1574 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Ocean
#017B92
ΔE00 1.79
Sea Blue
#047495
ΔE00 3.69
Dirty Blue
#3F829D
ΔE00 5.37
Teal Blue
#01889F
ΔE00 6.04
Cerulean
#007BA7
ΔE00 6.71
Ocean Blue (survey)
#03719C
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21788F #8F3821
analogous
#218F6F #21788F #21418F
triadic
#21788F #8F2178 #788F21
tetradic
#21788F #6F218F #8F3821 #418F21
square
#21788F #6F218F #8F3821 #418F21
split-complementary
#21788F #8F2141 #8F6F21
monochromatic
#0A252C #164E5D #21788F #2CA2C1 #53BCD7
Accessibility & contrast
On white
5.06
#21788F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#21788F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21788F
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21788F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21788F | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A7590
Deuteranopia (green-blind)
#5B6A8F
Tritanopia (blue-blind)
#00807F
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #21788f; /* rgb */ color: rgb(33, 120, 143); /* oklch */ color: oklch(53.3% 0.086 219.8);
Tailwind
colors: {
custom: {
50: '#6e9faf',
500: '#21788f',
950: '#000000',
},
}SCSS
$custom: #21788f; $custom-light: #6e9faf; $custom-dark: #000000;
JSON
{
"hex": "#21788f",
"rgb": {
"r": 33,
"g": 120,
"b": 143
},
"hsl": {
"h": 192.545,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.533,
"c": 0.08631,
"h": 219.8
},
"luminance": 0.15739
}Semantic roles & 50–950 ramp
primary
#21788F
secondary
#BB6751
accent
#6442E6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F