#21389E#21389E
#21389E is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.5% C 0.167 H 267.7°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).
Color values
| HEX | #21389E |
|---|---|
| RGB | rgb(33, 56, 158) |
| HSL | hsl(229, 65%, 37%) |
| HSV | hsv(229, 79%, 62%) |
| CMYK | cmyk(79.1%, 64.6%, 0%, 38%) |
| CIE-LAB | lab(28.43, 29.52, -57.73) |
| CIE-LCH | lch(28.43, 64.84, 297.08°) |
| OKLab | oklab(39.45% -0.0066 -0.167) |
| OKLCH | oklch(39.45% 0.167 267.7) |
| XYZ | xyz(8.2108, 5.6194, 32.9930) |
| Luminance | 0.0562 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.91
Blueberry
#464196
ΔE00 5.44
Cobalt
#0047AB
ΔE00 5.74
Blue Blue
#2242C7
ΔE00 6.10
Darkslateblue
#483D8B
ΔE00 6.66
Cobalt (survey)
#1E488F
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21389E #9E8721
analogous
#21779E #21389E #49219E
triadic
#21389E #9E2138 #389E21
tetradic
#21389E #9E2177 #9E8721 #219E49
square
#21389E #9E2177 #9E8721 #219E49
split-complementary
#21389E #9E4921 #779E21
monochromatic
#0C1439 #16266B #21389E #2C4AD1 #5C74DD
Accessibility & contrast
On white
9.89
#21389E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#21389E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21389E
9.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21389E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21389E | 1.00 | 9.89 | 2.12 | 9.89 |
| #FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049A1
Deuteranopia (green-blind)
#003D9C
Tritanopia (blue-blind)
#005365
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #21389e; /* rgb */ color: rgb(33, 56, 158); /* oklch */ color: oklch(39.5% 0.167 267.7);
Tailwind
colors: {
custom: {
50: '#726ebc',
500: '#21389e',
950: '#000000',
},
}SCSS
$custom: #21389e; $custom-light: #726ebc; $custom-dark: #000000;
JSON
{
"hex": "#21389e",
"rgb": {
"r": 33,
"g": 56,
"b": 158
},
"hsl": {
"h": 228.96,
"s": 65.445,
"l": 37.451
},
"oklch": {
"l": 0.39452,
"c": 0.16715,
"h": 267.7
},
"luminance": 0.0562
}Semantic roles & 50–950 ramp
primary
#21389E
secondary
#C1AE59
accent
#C93FE8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090712
muted
#7B7A81