#21379E#21379E
#21379E is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.3% C 0.168 H 268.0°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).
Color values
| HEX | #21379E |
|---|---|
| RGB | rgb(33, 55, 158) |
| HSL | hsl(229, 65%, 37%) |
| HSV | hsv(229, 79%, 62%) |
| CMYK | cmyk(79.1%, 65.2%, 0%, 38%) |
| CIE-LAB | lab(28.18, 30.18, -58.14) |
| CIE-LCH | lch(28.18, 65.51, 297.43°) |
| OKLab | oklab(39.27% -0.006 -0.1682) |
| OKLCH | oklch(39.27% 0.168 268) |
| XYZ | xyz(8.1628, 5.5234, 32.9770) |
| Luminance | 0.0552 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.87
Blueberry
#464196
ΔE00 5.52
Cobalt
#0047AB
ΔE00 6.04
Blue Blue
#2242C7
ΔE00 6.21
Darkslateblue
#483D8B
ΔE00 6.67
Ocean Blue
#4F42B5
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21379E #9E8821
analogous
#21769E #21379E #4A219E
triadic
#21379E #9E2137 #379E21
tetradic
#21379E #9E2176 #9E8821 #219E4A
square
#21379E #9E2176 #9E8821 #219E4A
split-complementary
#21379E #9E4A21 #769E21
monochromatic
#0C1439 #16256B #21379E #2C49D1 #5C73DD
Accessibility & contrast
On white
9.98
#21379E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#21379E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21379E
9.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21379E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21379E | 1.00 | 9.98 | 2.10 | 9.98 |
| #FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#003D9C
Tritanopia (blue-blind)
#005265
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #21379e; /* rgb */ color: rgb(33, 55, 158); /* oklch */ color: oklch(39.3% 0.168 268.0);
Tailwind
colors: {
custom: {
50: '#726dbc',
500: '#21379e',
950: '#000000',
},
}SCSS
$custom: #21379e; $custom-light: #726dbc; $custom-dark: #000000;
JSON
{
"hex": "#21379e",
"rgb": {
"r": 33,
"g": 55,
"b": 158
},
"hsl": {
"h": 229.44,
"s": 65.445,
"l": 37.451
},
"oklch": {
"l": 0.39265,
"c": 0.16836,
"h": 268
},
"luminance": 0.05524
}Semantic roles & 50–950 ramp
primary
#21379E
secondary
#C1AF59
accent
#CB3FE8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090712
muted
#7B7A81