#21439F#21439F
#21439F is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.7% C 0.155 H 264.9°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).
Color values
| HEX | #21439F |
|---|---|
| RGB | rgb(33, 67, 159) |
| HSL | hsl(224, 66%, 38%) |
| HSV | hsv(224, 79%, 62%) |
| CMYK | cmyk(79.2%, 57.9%, 0%, 37.6%) |
| CIE-LAB | lab(31.44, 22.49, -53.42) |
| CIE-LCH | lch(31.44, 57.96, 292.83°) |
| OKLab | oklab(41.72% -0.0137 -0.1542) |
| OKLCH | oklch(41.72% 0.155 264.9) |
| XYZ | xyz(8.8901, 6.8398, 33.6458) |
| Luminance | 0.0684 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.61
Cobalt (survey)
#1E488F
ΔE00 3.60
Sapphire (survey)
#2138AB
ΔE00 4.40
Darkish Blue
#014182
ΔE00 5.53
Blue Blue
#2242C7
ΔE00 5.79
Sapphire
#0F52BA
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21439F #9F7D21
analogous
#21829F #21439F #3E219F
triadic
#21439F #9F2143 #439F21
tetradic
#21439F #9F2182 #9F7D21 #219F3E
square
#21439F #9F2182 #9F7D21 #219F3E
split-complementary
#21439F #9F3E21 #829F21
monochromatic
#0C183A #162E6C #21439F #2C58D2 #5D80DD
Accessibility & contrast
On white
8.87
#21439F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#21439F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21439F
8.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21439F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21439F | 1.00 | 8.87 | 2.37 | 8.87 |
| #FFFFFF | 8.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#00449D
Tritanopia (blue-blind)
#005A6A
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #21439f; /* rgb */ color: rgb(33, 67, 159); /* oklch */ color: oklch(41.7% 0.155 264.9);
Tailwind
colors: {
custom: {
50: '#7176bc',
500: '#21439f',
950: '#000000',
},
}SCSS
$custom: #21439f; $custom-light: #7176bc; $custom-dark: #000000;
JSON
{
"hex": "#21439f",
"rgb": {
"r": 33,
"g": 67,
"b": 159
},
"hsl": {
"h": 223.81,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.41718,
"c": 0.15485,
"h": 264.9
},
"luminance": 0.06841
}Semantic roles & 50–950 ramp
primary
#21439F
secondary
#C2A65A
accent
#BB3FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81