#21479F#21479F
#21479F is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.6% C 0.150 H 263.6°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).
Color values
| HEX | #21479F |
|---|---|
| RGB | rgb(33, 71, 159) |
| HSL | hsl(222, 66%, 38%) |
| HSV | hsv(222, 79%, 62%) |
| CMYK | cmyk(79.2%, 55.3%, 0%, 37.6%) |
| CIE-LAB | lab(32.55, 19.77, -51.61) |
| CIE-LCH | lch(32.55, 55.27, 290.96°) |
| OKLab | oklab(42.56% -0.0166 -0.1489) |
| OKLCH | oklch(42.56% 0.15 263.6) |
| XYZ | xyz(9.1362, 7.3320, 33.7279) |
| Luminance | 0.0733 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.97
Cobalt (survey)
#1E488F
ΔE00 2.68
Sapphire
#0F52BA
ΔE00 4.85
Darkish Blue
#014182
ΔE00 5.20
Dusk Blue
#26538D
ΔE00 5.36
Sapphire (survey)
#2138AB
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21479F #9F7921
analogous
#21869F #21479F #3A219F
triadic
#21479F #9F2147 #479F21
tetradic
#21479F #9F2186 #9F7921 #219F3A
square
#21479F #9F2186 #9F7921 #219F3A
split-complementary
#21479F #9F3A21 #869F21
monochromatic
#0C1A3A #16306C #21479F #2C5ED2 #5D84DD
Accessibility & contrast
On white
8.51
#21479F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#21479F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21479F
8.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21479F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21479F | 1.00 | 8.51 | 2.47 | 8.51 |
| #FFFFFF | 8.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#00479D
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #21479f; /* rgb */ color: rgb(33, 71, 159); /* oklch */ color: oklch(42.6% 0.150 263.6);
Tailwind
colors: {
custom: {
50: '#7179bc',
500: '#21479f',
950: '#000000',
},
}SCSS
$custom: #21479f; $custom-light: #7179bc; $custom-dark: #000000;
JSON
{
"hex": "#21479f",
"rgb": {
"r": 33,
"g": 71,
"b": 159
},
"hsl": {
"h": 221.905,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.42556,
"c": 0.14978,
"h": 263.6
},
"luminance": 0.07333
}Semantic roles & 50–950 ramp
primary
#21479F
secondary
#C2A35A
accent
#B63FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81