#21389B#21389B
#21389B is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.2% C 0.163 H 267.7°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).
Color values
| HEX | #21389B |
|---|---|
| RGB | rgb(33, 56, 155) |
| HSL | hsl(229, 65%, 37%) |
| HSV | hsv(229, 79%, 61%) |
| CMYK | cmyk(78.7%, 63.9%, 0%, 39.2%) |
| CIE-LAB | lab(28.16, 28.37, -56.35) |
| CIE-LCH | lch(28.16, 63.09, 296.73°) |
| OKLab | oklab(39.17% -0.0065 -0.163) |
| OKLCH | oklch(39.17% 0.163 267.7) |
| XYZ | xyz(7.9557, 5.5173, 31.6497) |
| Luminance | 0.0552 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.36
Blueberry
#464196
ΔE00 5.41
Cobalt
#0047AB
ΔE00 5.78
Blue Blue
#2242C7
ΔE00 6.48
Darkslateblue
#483D8B
ΔE00 6.54
Cobalt (survey)
#1E488F
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21389B #9B8421
analogous
#21759B #21389B #47219B
triadic
#21389B #9B2138 #389B21
tetradic
#21389B #9B2175 #9B8421 #219B47
square
#21389B #9B2175 #9B8421 #219B47
split-complementary
#21389B #9B4721 #759B21
monochromatic
#0C1436 #162669 #21389B #2C4ACD #5A73DC
Accessibility & contrast
On white
9.98
#21389B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#21389B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21389B
9.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21389B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21389B | 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)
#00489E
Deuteranopia (green-blind)
#003D99
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #21389b; /* rgb */ color: rgb(33, 56, 155); /* oklch */ color: oklch(39.2% 0.163 267.7);
Tailwind
colors: {
custom: {
50: '#716eb9',
500: '#21389b',
950: '#000000',
},
}SCSS
$custom: #21389b; $custom-light: #716eb9; $custom-dark: #000000;
JSON
{
"hex": "#21389b",
"rgb": {
"r": 33,
"g": 56,
"b": 155
},
"hsl": {
"h": 228.689,
"s": 64.894,
"l": 36.863
},
"oklch": {
"l": 0.39169,
"c": 0.1631,
"h": 267.7
},
"luminance": 0.05518
}Semantic roles & 50–950 ramp
primary
#21389B
secondary
#C0AC58
accent
#C840E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090712
muted
#7B7A81