#21459F#21459F
#21459F is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.1% C 0.152 H 264.3°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).
Color values
| HEX | #21459F |
|---|---|
| RGB | rgb(33, 69, 159) |
| HSL | hsl(223, 66%, 38%) |
| HSV | hsv(223, 79%, 62%) |
| CMYK | cmyk(79.2%, 56.6%, 0%, 37.6%) |
| CIE-LAB | lab(31.99, 21.13, -52.52) |
| CIE-LCH | lch(31.99, 56.61, 291.91°) |
| OKLab | oklab(42.13% -0.0151 -0.1516) |
| OKLCH | oklch(42.13% 0.152 264.3) |
| XYZ | xyz(9.0111, 7.0817, 33.6862) |
| Luminance | 0.0708 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.21
Cobalt (survey)
#1E488F
ΔE00 3.09
Sapphire (survey)
#2138AB
ΔE00 5.04
Darkish Blue
#014182
ΔE00 5.32
Sapphire
#0F52BA
ΔE00 5.37
Blue Blue
#2242C7
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21459F #9F7B21
analogous
#21849F #21459F #3C219F
triadic
#21459F #9F2145 #459F21
tetradic
#21459F #9F2184 #9F7B21 #219F3C
square
#21459F #9F2184 #9F7B21 #219F3C
split-complementary
#21459F #9F3C21 #849F21
monochromatic
#0C193A #162F6C #21459F #2C5BD2 #5D82DD
Accessibility & contrast
On white
8.69
#21459F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#21459F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21459F
8.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21459F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21459F | 1.00 | 8.69 | 2.42 | 8.69 |
| #FFFFFF | 8.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051A2
Deuteranopia (green-blind)
#00469D
Tritanopia (blue-blind)
#005B6B
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #21459f; /* rgb */ color: rgb(33, 69, 159); /* oklch */ color: oklch(42.1% 0.152 264.3);
Tailwind
colors: {
custom: {
50: '#7178bc',
500: '#21459f',
950: '#000000',
},
}SCSS
$custom: #21459f; $custom-light: #7178bc; $custom-dark: #000000;
JSON
{
"hex": "#21459f",
"rgb": {
"r": 33,
"g": 69,
"b": 159
},
"hsl": {
"h": 222.857,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.42134,
"c": 0.15231,
"h": 264.3
},
"luminance": 0.07083
}Semantic roles & 50–950 ramp
primary
#21459F
secondary
#C2A45A
accent
#B83FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81