#21497F#21497F
#21497F is a dark, moderate cyan. Relative luminance 0.066; OKLCH L 40.6% C 0.102 H 256.7°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #21497F |
|---|---|
| RGB | rgb(33, 73, 127) |
| HSL | hsl(214, 59%, 31%) |
| HSV | hsv(214, 74%, 50%) |
| CMYK | cmyk(74%, 42.5%, 0%, 50.2%) |
| CIE-LAB | lab(30.93, 5.70, -34.63) |
| CIE-LCH | lch(30.93, 35.10, 279.34°) |
| OKLab | oklab(40.6% -0.0233 -0.0989) |
| OKLCH | oklch(40.6% 0.102 256.7) |
| XYZ | xyz(6.8391, 6.6200, 20.9919) |
| Luminance | 0.0662 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.35
Twilight Blue
#0A437A
ΔE00 2.47
Darkish Blue
#014182
ΔE00 2.87
Prussian Blue
#004577
ΔE00 3.34
Light Navy
#155084
ΔE00 3.51
Dusk Blue
#26538D
ΔE00 3.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21497F #7F5721
analogous
#21787F #21497F #28217F
triadic
#21497F #7F2149 #497F21
tetradic
#21497F #7F2178 #7F5721 #217F28
square
#21497F #7F2178 #7F5721 #217F28
split-complementary
#21497F #7F2821 #787F21
monochromatic
#08111E #142D4E #21497F #2E65B0 #4A83D0
Accessibility & contrast
On white
9.04
#21497F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#21497F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21497F
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21497F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21497F | 1.00 | 9.04 | 2.32 | 9.04 |
| #FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4D81
Deuteranopia (green-blind)
#20457E
Tritanopia (blue-blind)
#00565D
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #21497f; /* rgb */ color: rgb(33, 73, 127); /* oklch */ color: oklch(40.6% 0.102 256.7);
Tailwind
colors: {
custom: {
50: '#697ba4',
500: '#21497f',
950: '#000000',
},
}SCSS
$custom: #21497f; $custom-light: #697ba4; $custom-dark: #000000;
JSON
{
"hex": "#21497f",
"rgb": {
"r": 33,
"g": 73,
"b": 127
},
"hsl": {
"h": 214.468,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.40602,
"c": 0.10158,
"h": 256.7
},
"luminance": 0.06621
}Semantic roles & 50–950 ramp
primary
#21497F
secondary
#B2864A
accent
#A046E2
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F