#21379F#21379F
#21379F is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.4% C 0.170 H 268.0°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).
Color values
| HEX | #21379F |
|---|---|
| RGB | rgb(33, 55, 159) |
| HSL | hsl(230, 66%, 38%) |
| HSV | hsv(230, 79%, 62%) |
| CMYK | cmyk(79.2%, 65.4%, 0%, 37.6%) |
| CIE-LAB | lab(28.27, 30.56, -58.60) |
| CIE-LCH | lch(28.27, 66.09, 297.54°) |
| OKLab | oklab(39.36% -0.006 -0.1696) |
| OKLCH | oklch(39.36% 0.17 268) |
| XYZ | xyz(8.2492, 5.5580, 33.4322) |
| Luminance | 0.0556 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.72
Blueberry
#464196
ΔE00 5.54
Cobalt
#0047AB
ΔE00 6.03
Blue Blue
#2242C7
ΔE00 6.08
Darkslateblue
#483D8B
ΔE00 6.72
Ocean Blue
#4F42B5
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21379F #9F8921
analogous
#21769F #21379F #4A219F
triadic
#21379F #9F2137 #379F21
tetradic
#21379F #9F2176 #9F8921 #219F4A
square
#21379F #9F2176 #9F8921 #219F4A
split-complementary
#21379F #9F4A21 #769F21
monochromatic
#0C143A #16256C #21379F #2C49D2 #5D73DD
Accessibility & contrast
On white
9.94
#21379F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#21379F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21379F
9.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21379F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21379F | 1.00 | 9.94 | 2.11 | 9.94 |
| #FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049A2
Deuteranopia (green-blind)
#003D9D
Tritanopia (blue-blind)
#005366
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #21379f; /* rgb */ color: rgb(33, 55, 159); /* oklch */ color: oklch(39.4% 0.170 268.0);
Tailwind
colors: {
custom: {
50: '#726dbc',
500: '#21379f',
950: '#000000',
},
}SCSS
$custom: #21379f; $custom-light: #726dbc; $custom-dark: #000000;
JSON
{
"hex": "#21379f",
"rgb": {
"r": 33,
"g": 55,
"b": 159
},
"hsl": {
"h": 229.524,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.3936,
"c": 0.16969,
"h": 268
},
"luminance": 0.05559
}Semantic roles & 50–950 ramp
primary
#21379F
secondary
#C2B05A
accent
#CB3FE9
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090712
muted
#7B7A81