#21428E#21428E
#21428E is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.1% C 0.132 H 263.8°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #21428E |
|---|---|
| RGB | rgb(33, 66, 142) |
| HSL | hsl(222, 62%, 34%) |
| HSV | hsv(222, 77%, 56%) |
| CMYK | cmyk(76.8%, 53.5%, 0%, 44.3%) |
| CIE-LAB | lab(29.84, 16.45, -45.65) |
| CIE-LCH | lch(29.84, 48.52, 289.81°) |
| OKLab | oklab(40.1% -0.0143 -0.1314) |
| OKLCH | oklch(40.1% 0.132 263.8) |
| XYZ | xyz(7.4562, 6.1719, 26.3843) |
| Luminance | 0.0617 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.38
Darkish Blue
#014182
ΔE00 3.63
Cobalt
#0047AB
ΔE00 4.20
Twilight Blue
#0A437A
ΔE00 4.66
Dusk Blue
#26538D
ΔE00 6.11
Prussian Blue
#004577
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21428E #8E6D21
analogous
#21798E #21428E #37218E
triadic
#21428E #8E2142 #428E21
tetradic
#21428E #8E2179 #8E6D21 #218E37
square
#21428E #8E2179 #8E6D21 #218E37
split-complementary
#21428E #8E3721 #798E21
monochromatic
#0A142B #152B5C #21428E #2D59C0 #527BD7
Accessibility & contrast
On white
9.40
#21428E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#21428E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21428E
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21428E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21428E | 1.00 | 9.40 | 2.23 | 9.40 |
| #FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E4C91
Deuteranopia (green-blind)
#00428C
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #21428e; /* rgb */ color: rgb(33, 66, 142); /* oklch */ color: oklch(40.1% 0.132 263.8);
Tailwind
colors: {
custom: {
50: '#6d75b0',
500: '#21428e',
950: '#000000',
},
}SCSS
$custom: #21428e; $custom-light: #6d75b0; $custom-dark: #000000;
JSON
{
"hex": "#21428e",
"rgb": {
"r": 33,
"g": 66,
"b": 142
},
"hsl": {
"h": 221.835,
"s": 62.286,
"l": 34.314
},
"oklch": {
"l": 0.40096,
"c": 0.13218,
"h": 263.8
},
"luminance": 0.06173
}Semantic roles & 50–950 ramp
primary
#21428E
secondary
#BA9A50
accent
#B442E5
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F