#21479C#21479C
#21479C is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.3% C 0.146 H 263.4°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).
Color values
| HEX | #21479C |
|---|---|
| RGB | rgb(33, 71, 156) |
| HSL | hsl(221, 65%, 37%) |
| HSV | hsv(221, 79%, 61%) |
| CMYK | cmyk(78.8%, 54.5%, 0%, 38.8%) |
| CIE-LAB | lab(32.32, 18.58, -50.17) |
| CIE-LCH | lch(32.32, 53.50, 290.32°) |
| OKLab | oklab(42.31% -0.0168 -0.1446) |
| OKLCH | oklch(42.31% 0.146 263.4) |
| XYZ | xyz(8.8790, 7.2291, 32.3734) |
| Luminance | 0.0723 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.23
Cobalt (survey)
#1E488F
ΔE00 2.25
Darkish Blue
#014182
ΔE00 4.82
Sapphire
#0F52BA
ΔE00 5.08
Dusk Blue
#26538D
ΔE00 5.12
Twilight Blue
#0A437A
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21479C #9C7621
analogous
#21859C #21479C #38219C
triadic
#21479C #9C2147 #479C21
tetradic
#21479C #9C2185 #9C7621 #219C38
square
#21479C #9C2185 #9C7621 #219C38
split-complementary
#21479C #9C3821 #859C21
monochromatic
#0C1937 #163069 #21479C #2C5ECF #5B83DC
Accessibility & contrast
On white
8.59
#21479C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#21479C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21479C
8.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21479C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21479C | 1.00 | 8.59 | 2.45 | 8.59 |
| #FFFFFF | 8.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#02529F
Deuteranopia (green-blind)
#00479A
Tritanopia (blue-blind)
#005C6A
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #21479c; /* rgb */ color: rgb(33, 71, 156); /* oklch */ color: oklch(42.3% 0.146 263.4);
Tailwind
colors: {
custom: {
50: '#7079ba',
500: '#21479c',
950: '#000000',
},
}SCSS
$custom: #21479c; $custom-light: #7079ba; $custom-dark: #000000;
JSON
{
"hex": "#21479c",
"rgb": {
"r": 33,
"g": 71,
"b": 156
},
"hsl": {
"h": 221.463,
"s": 65.079,
"l": 37.059
},
"oklch": {
"l": 0.42311,
"c": 0.14559,
"h": 263.4
},
"luminance": 0.0723
}Semantic roles & 50–950 ramp
primary
#21479C
secondary
#C1A058
accent
#B440E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81