#21429D#21429D
#21429D is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.3% C 0.153 H 265.1°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).
Color values
| HEX | #21429D |
|---|---|
| RGB | rgb(33, 66, 157) |
| HSL | hsl(224, 65%, 37%) |
| HSV | hsv(224, 79%, 62%) |
| CMYK | cmyk(79%, 58%, 0%, 38.4%) |
| CIE-LAB | lab(31.00, 22.38, -52.92) |
| CIE-LCH | lch(31.00, 57.46, 292.92°) |
| OKLab | oklab(41.34% -0.0131 -0.1528) |
| OKLCH | oklch(41.34% 0.153 265.1) |
| XYZ | xyz(8.6591, 6.6531, 32.7196) |
| Luminance | 0.0665 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.93
Cobalt (survey)
#1E488F
ΔE00 3.65
Sapphire (survey)
#2138AB
ΔE00 4.29
Darkish Blue
#014182
ΔE00 5.41
Blueberry
#464196
ΔE00 5.84
Blue Blue
#2242C7
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21429D #9D7C21
analogous
#21809D #21429D #3E219D
triadic
#21429D #9D2142 #429D21
tetradic
#21429D #9D2180 #9D7C21 #219D3E
square
#21429D #9D2180 #9D7C21 #219D3E
split-complementary
#21429D #9D3E21 #809D21
monochromatic
#0C1738 #162D6A #21429D #2C57D0 #5C7EDD
Accessibility & contrast
On white
9.01
#21429D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#21429D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21429D
9.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21429D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21429D | 1.00 | 9.01 | 2.33 | 9.01 |
| #FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA0
Deuteranopia (green-blind)
#00439B
Tritanopia (blue-blind)
#005969
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #21429d; /* rgb */ color: rgb(33, 66, 157); /* oklch */ color: oklch(41.3% 0.153 265.1);
Tailwind
colors: {
custom: {
50: '#7175bb',
500: '#21429d',
950: '#000000',
},
}SCSS
$custom: #21429d; $custom-light: #7175bb; $custom-dark: #000000;
JSON
{
"hex": "#21429d",
"rgb": {
"r": 33,
"g": 66,
"b": 157
},
"hsl": {
"h": 224.032,
"s": 65.263,
"l": 37.255
},
"oklch": {
"l": 0.4134,
"c": 0.15334,
"h": 265.1
},
"luminance": 0.06654
}Semantic roles & 50–950 ramp
primary
#21429D
secondary
#C1A559
accent
#BB40E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81