#21479B#21479B
#21479B is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.2% C 0.144 H 263.2°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).
Color values
| HEX | #21479B |
|---|---|
| RGB | rgb(33, 71, 155) |
| HSL | hsl(221, 65%, 37%) |
| HSV | hsv(221, 79%, 61%) |
| CMYK | cmyk(78.7%, 54.2%, 0%, 39.2%) |
| CIE-LAB | lab(32.25, 18.19, -49.69) |
| CIE-LCH | lch(32.25, 52.91, 290.10°) |
| OKLab | oklab(42.23% -0.0169 -0.1432) |
| OKLCH | oklch(42.23% 0.144 263.2) |
| XYZ | xyz(8.7947, 7.1954, 31.9293) |
| Luminance | 0.0720 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.11
Cobalt
#0047AB
ΔE00 2.33
Darkish Blue
#014182
ΔE00 4.70
Dusk Blue
#26538D
ΔE00 5.05
Sapphire
#0F52BA
ΔE00 5.16
Twilight Blue
#0A437A
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21479B #9B7521
analogous
#21849B #21479B #38219B
triadic
#21479B #9B2147 #479B21
tetradic
#21479B #9B2184 #9B7521 #219B38
square
#21479B #9B2184 #9B7521 #219B38
split-complementary
#21479B #9B3821 #849B21
monochromatic
#0C1936 #163069 #21479B #2C5ECD #5A83DC
Accessibility & contrast
On white
8.61
#21479B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#21479B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21479B
8.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21479B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21479B | 1.00 | 8.61 | 2.44 | 8.61 |
| #FFFFFF | 8.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#05529E
Deuteranopia (green-blind)
#004799
Tritanopia (blue-blind)
#005C6A
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #21479b; /* rgb */ color: rgb(33, 71, 155); /* oklch */ color: oklch(42.2% 0.144 263.2);
Tailwind
colors: {
custom: {
50: '#7079b9',
500: '#21479b',
950: '#000000',
},
}SCSS
$custom: #21479b; $custom-light: #7079b9; $custom-dark: #000000;
JSON
{
"hex": "#21479b",
"rgb": {
"r": 33,
"g": 71,
"b": 155
},
"hsl": {
"h": 221.311,
"s": 64.894,
"l": 36.863
},
"oklch": {
"l": 0.4223,
"c": 0.14419,
"h": 263.2
},
"luminance": 0.07196
}Semantic roles & 50–950 ramp
primary
#21479B
secondary
#C0A058
accent
#B440E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80