#21429B#21429B
#21429B is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.2% C 0.151 H 265.0°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #21429B |
|---|---|
| RGB | rgb(33, 66, 155) |
| HSL | hsl(224, 65%, 37%) |
| HSV | hsv(224, 79%, 61%) |
| CMYK | cmyk(78.7%, 57.4%, 0%, 39.2%) |
| CIE-LAB | lab(30.84, 21.59, -51.97) |
| CIE-LCH | lch(30.84, 56.27, 292.56°) |
| OKLab | oklab(41.17% -0.0132 -0.15) |
| OKLCH | oklch(41.17% 0.151 265) |
| XYZ | xyz(8.4897, 6.5854, 31.8277) |
| Luminance | 0.0659 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.04
Cobalt (survey)
#1E488F
ΔE00 3.43
Sapphire (survey)
#2138AB
ΔE00 4.52
Darkish Blue
#014182
ΔE00 5.16
Blueberry
#464196
ΔE00 5.89
Twilight Blue
#0A437A
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21429B #9B7A21
analogous
#217F9B #21429B #3D219B
triadic
#21429B #9B2142 #429B21
tetradic
#21429B #9B217F #9B7A21 #219B3D
square
#21429B #9B217F #9B7A21 #219B3D
split-complementary
#21429B #9B3D21 #7F9B21
monochromatic
#0C1736 #162D69 #21429B #2C57CD #5A7DDC
Accessibility & contrast
On white
9.06
#21429B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#21429B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21429B
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21429B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21429B | 1.00 | 9.06 | 2.32 | 9.06 |
| #FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E9E
Deuteranopia (green-blind)
#004399
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #21429b; /* rgb */ color: rgb(33, 66, 155); /* oklch */ color: oklch(41.2% 0.151 265.0);
Tailwind
colors: {
custom: {
50: '#7075b9',
500: '#21429b',
950: '#000000',
},
}SCSS
$custom: #21429b; $custom-light: #7075b9; $custom-dark: #000000;
JSON
{
"hex": "#21429b",
"rgb": {
"r": 33,
"g": 66,
"b": 155
},
"hsl": {
"h": 223.77,
"s": 64.894,
"l": 36.863
},
"oklch": {
"l": 0.4117,
"c": 0.15056,
"h": 265
},
"luminance": 0.06586
}Semantic roles & 50–950 ramp
primary
#21429B
secondary
#C0A458
accent
#BA40E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81