#21406C#21406C
#21406C is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.1% C 0.085 H 257.4°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).
Color values
| HEX | #21406C |
|---|---|
| RGB | rgb(33, 64, 108) |
| HSL | hsl(215, 53%, 28%) |
| HSV | hsv(215, 69%, 42%) |
| CMYK | cmyk(69.4%, 40.7%, 0%, 57.6%) |
| CIE-LAB | lab(26.94, 4.32, -29.01) |
| CIE-LCH | lch(26.94, 29.33, 278.47°) |
| OKLab | oklab(37.13% -0.0184 -0.0825) |
| OKLCH | oklch(37.13% 0.085 257.4) |
| XYZ | xyz(5.1664, 5.0723, 14.8912) |
| Luminance | 0.0507 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight Blue
#0A437A
ΔE00 3.15
Marine Blue
#01386A
ΔE00 3.29
Darkish Blue
#014182
ΔE00 3.62
Prussian Blue
#004577
ΔE00 4.27
Cobalt (survey)
#1E488F
ΔE00 5.13
Marine
#042E60
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21406C #6C4D21
analogous
#21656C #21406C #28216C
triadic
#21406C #6C2140 #406C21
tetradic
#21406C #6C2165 #6C4D21 #216C28
square
#21406C #6C2165 #6C4D21 #216C28
split-complementary
#21406C #6C2821 #656C21
monochromatic
#070E17 #13243D #21406C #2F5C9B #4278C5
Accessibility & contrast
On white
10.42
#21406C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#21406C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21406C
10.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21406C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21406C | 1.00 | 10.42 | 2.01 | 10.42 |
| #FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C436E
Deuteranopia (green-blind)
#213C6B
Tritanopia (blue-blind)
#004A50
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #21406c; /* rgb */ color: rgb(33, 64, 108); /* oklch */ color: oklch(37.1% 0.085 257.4);
Tailwind
colors: {
custom: {
50: '#657496',
500: '#21406c',
950: '#000000',
},
}SCSS
$custom: #21406c; $custom-light: #657496; $custom-dark: #000000;
JSON
{
"hex": "#21406c",
"rgb": {
"r": 33,
"g": 64,
"b": 108
},
"hsl": {
"h": 215.2,
"s": 53.191,
"l": 27.647
},
"oklch": {
"l": 0.37129,
"c": 0.08456,
"h": 257.4
},
"luminance": 0.05073
}Semantic roles & 50–950 ramp
primary
#21406C
secondary
#A07C49
accent
#A04BDD
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080D
muted
#7A7B7E