#21439D#21439D
#21439D is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.5% C 0.152 H 264.8°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #21439D |
|---|---|
| RGB | rgb(33, 67, 157) |
| HSL | hsl(224, 65%, 37%) |
| HSV | hsv(224, 79%, 62%) |
| CMYK | cmyk(79%, 57.3%, 0%, 38.4%) |
| CIE-LAB | lab(31.28, 21.70, -52.47) |
| CIE-LCH | lch(31.28, 56.78, 292.47°) |
| OKLab | oklab(41.55% -0.0138 -0.1514) |
| OKLCH | oklch(41.55% 0.152 264.8) |
| XYZ | xyz(8.7180, 6.7710, 32.7392) |
| Luminance | 0.0677 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.71
Cobalt (survey)
#1E488F
ΔE00 3.36
Sapphire (survey)
#2138AB
ΔE00 4.60
Darkish Blue
#014182
ΔE00 5.27
Blueberry
#464196
ΔE00 6.00
Sapphire
#0F52BA
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21439D #9D7B21
analogous
#21819D #21439D #3D219D
triadic
#21439D #9D2143 #439D21
tetradic
#21439D #9D2181 #9D7B21 #219D3D
square
#21439D #9D2181 #9D7B21 #219D3D
split-complementary
#21439D #9D3D21 #819D21
monochromatic
#0C1838 #162D6A #21439D #2C59D0 #5C7FDD
Accessibility & contrast
On white
8.92
#21439D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#21439D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21439D
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21439D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21439D | 1.00 | 8.92 | 2.35 | 8.92 |
| #FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A0
Deuteranopia (green-blind)
#00449B
Tritanopia (blue-blind)
#005969
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #21439d; /* rgb */ color: rgb(33, 67, 157); /* oklch */ color: oklch(41.5% 0.152 264.8);
Tailwind
colors: {
custom: {
50: '#7176bb',
500: '#21439d',
950: '#000000',
},
}SCSS
$custom: #21439d; $custom-light: #7176bb; $custom-dark: #000000;
JSON
{
"hex": "#21439d",
"rgb": {
"r": 33,
"g": 67,
"b": 157
},
"hsl": {
"h": 223.548,
"s": 65.263,
"l": 37.255
},
"oklch": {
"l": 0.41548,
"c": 0.15207,
"h": 264.8
},
"luminance": 0.06772
}Semantic roles & 50–950 ramp
primary
#21439D
secondary
#C1A459
accent
#BA40E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81