#21518F#21518F
#21518F is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.6% C 0.115 H 256.2°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #21518F |
|---|---|
| RGB | rgb(33, 81, 143) |
| HSL | hsl(214, 63%, 35%) |
| HSV | hsv(214, 77%, 56%) |
| CMYK | cmyk(76.9%, 43.4%, 0%, 43.9%) |
| CIE-LAB | lab(34.38, 6.68, -38.97) |
| CIE-LCH | lch(34.38, 39.54, 279.73°) |
| OKLab | oklab(43.6% -0.0274 -0.1115) |
| OKLCH | oklch(43.6% 0.115 256.2) |
| XYZ | xyz(8.5257, 8.1904, 27.1128) |
| Luminance | 0.0819 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dusk Blue
#26538D
ΔE00 0.75
Light Navy
#155084
ΔE00 2.51
Cobalt (survey)
#1E488F
ΔE00 3.25
Light Navy Blue
#2E5A88
ΔE00 3.42
Denim Blue
#3B5B92
ΔE00 4.15
Twilight Blue
#0A437A
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21518F #8F5F21
analogous
#21888F #21518F #28218F
triadic
#21518F #8F2151 #518F21
tetradic
#21518F #8F2188 #8F5F21 #218F28
square
#21518F #8F2188 #8F5F21 #218F28
split-complementary
#21518F #8F2821 #888F21
monochromatic
#0A192C #16355D #21518F #2C6DC1 #538DD7
Accessibility & contrast
On white
7.96
#21518F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#21518F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21518F
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21518F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21518F | 1.00 | 7.96 | 2.64 | 7.96 |
| #FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#335691
Deuteranopia (green-blind)
#1F4C8E
Tritanopia (blue-blind)
#006069
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #21518f; /* rgb */ color: rgb(33, 81, 143); /* oklch */ color: oklch(43.6% 0.115 256.2);
Tailwind
colors: {
custom: {
50: '#6d81b0',
500: '#21518f',
950: '#000000',
},
}SCSS
$custom: #21518f; $custom-light: #6d81b0; $custom-dark: #000000;
JSON
{
"hex": "#21518f",
"rgb": {
"r": 33,
"g": 81,
"b": 143
},
"hsl": {
"h": 213.818,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.43602,
"c": 0.11478,
"h": 256.2
},
"luminance": 0.08191
}Semantic roles & 50–950 ramp
primary
#21518F
secondary
#BB8D51
accent
#9E42E6
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F