#21687F#21687F
#21687F is a mid, moderate cyan. Relative luminance 0.118; OKLCH L 48.4% C 0.077 H 223.7°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #21687F |
|---|---|
| RGB | rgb(33, 104, 127) |
| HSL | hsl(195, 59%, 31%) |
| HSV | hsv(195, 74%, 50%) |
| CMYK | cmyk(74%, 18.1%, 0%, 50.2%) |
| CIE-LAB | lab(40.82, -13.65, -19.11) |
| CIE-LCH | lch(40.82, 23.49, 234.46°) |
| OKLab | oklab(48.43% -0.056 -0.0535) |
| OKLCH | oklch(48.43% 0.077 223.7) |
| XYZ | xyz(9.4067, 11.7552, 21.8478) |
| Luminance | 0.1176 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Sea Blue
#047495
ΔE00 5.05
Ugly Blue
#31668A
ΔE00 6.78
Ocean Blue (survey)
#03719C
ΔE00 6.82
Petrol
#005F6A
ΔE00 7.01
Ocean
#017B92
ΔE00 7.12
Peacock Blue
#016795
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21687F #7F3821
analogous
#217F67 #21687F #21397F
triadic
#21687F #7F2168 #687F21
tetradic
#21687F #67217F #7F3821 #397F21
square
#21687F #67217F #7F3821 #397F21
split-complementary
#21687F #7F2139 #7F6721
monochromatic
#08181E #14404E #21687F #2E90B0 #4AAFD0
Accessibility & contrast
On white
6.27
#21687F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#21687F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21687F
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21687F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21687F | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B6680
Deuteranopia (green-blind)
#4E5C7F
Tritanopia (blue-blind)
#006F6F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #21687f; /* rgb */ color: rgb(33, 104, 127); /* oklch */ color: oklch(48.4% 0.077 223.7);
Tailwind
colors: {
custom: {
50: '#6a93a4',
500: '#21687f',
950: '#000000',
},
}SCSS
$custom: #21687f; $custom-light: #6a93a4; $custom-dark: #000000;
JSON
{
"hex": "#21687f",
"rgb": {
"r": 33,
"g": 104,
"b": 127
},
"hsl": {
"h": 194.681,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.48425,
"c": 0.07744,
"h": 223.7
},
"luminance": 0.11756
}Semantic roles & 50–950 ramp
primary
#21687F
secondary
#B2634A
accent
#6C46E2
background
#F6F9FA
surface
#ECF1F4
border
#C7CBCE
text
#070D0F
muted
#7A7E7F