#21428B#21428B
#21428B is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.9% C 0.128 H 263.4°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).
Color values
| HEX | #21428B |
|---|---|
| RGB | rgb(33, 66, 139) |
| HSL | hsl(221, 62%, 34%) |
| HSV | hsv(221, 76%, 55%) |
| CMYK | cmyk(76.3%, 52.5%, 0%, 45.5%) |
| CIE-LAB | lab(29.62, 15.25, -44.16) |
| CIE-LCH | lch(29.62, 46.72, 289.05°) |
| OKLab | oklab(39.86% -0.0146 -0.127) |
| OKLCH | oklch(39.86% 0.128 263.4) |
| XYZ | xyz(7.2340, 6.0830, 25.2140) |
| Luminance | 0.0608 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.30
Darkish Blue
#014182
ΔE00 3.33
Twilight Blue
#0A437A
ΔE00 4.33
Cobalt
#0047AB
ΔE00 4.53
Prussian Blue
#004577
ΔE00 5.83
Marine Blue
#01386A
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21428B #8B6A21
analogous
#21778B #21428B #35218B
triadic
#21428B #8B2142 #428B21
tetradic
#21428B #8B2177 #8B6A21 #218B35
square
#21428B #8B2177 #8B6A21 #218B35
split-complementary
#21428B #8B3521 #778B21
monochromatic
#0A1328 #152B5A #21428B #2D59BC #517AD6
Accessibility & contrast
On white
9.47
#21428B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#21428B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21428B
9.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21428B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21428B | 1.00 | 9.47 | 2.22 | 9.47 |
| #FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#144B8E
Deuteranopia (green-blind)
#00418A
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #21428b; /* rgb */ color: rgb(33, 66, 139); /* oklch */ color: oklch(39.9% 0.128 263.4);
Tailwind
colors: {
custom: {
50: '#6c75ad',
500: '#21428b',
950: '#000000',
},
}SCSS
$custom: #21428b; $custom-light: #6c75ad; $custom-dark: #000000;
JSON
{
"hex": "#21428b",
"rgb": {
"r": 33,
"g": 66,
"b": 139
},
"hsl": {
"h": 221.321,
"s": 61.628,
"l": 33.725
},
"oklch": {
"l": 0.39858,
"c": 0.12786,
"h": 263.4
},
"luminance": 0.06084
}Semantic roles & 50–950 ramp
primary
#21428B
secondary
#B9984F
accent
#B243E5
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F