#21399B#21399B
#21399B is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.4% C 0.162 H 267.5°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).
Color values
| HEX | #21399B |
|---|---|
| RGB | rgb(33, 57, 155) |
| HSL | hsl(228, 65%, 37%) |
| HSV | hsv(228, 79%, 61%) |
| CMYK | cmyk(78.7%, 63.2%, 0%, 39.2%) |
| CIE-LAB | lab(28.42, 27.70, -55.92) |
| CIE-LCH | lch(28.42, 62.41, 296.35°) |
| OKLab | oklab(39.36% -0.0071 -0.1617) |
| OKLCH | oklch(39.36% 0.162 267.5) |
| XYZ | xyz(8.0047, 5.6152, 31.6660) |
| Luminance | 0.0562 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.46
Blueberry
#464196
ΔE00 5.36
Cobalt
#0047AB
ΔE00 5.49
Cobalt (survey)
#1E488F
ΔE00 6.30
Blue Blue
#2242C7
ΔE00 6.39
Darkslateblue
#483D8B
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21399B #9B8321
analogous
#21769B #21399B #46219B
triadic
#21399B #9B2139 #399B21
tetradic
#21399B #9B2176 #9B8321 #219B46
square
#21399B #9B2176 #9B8321 #219B46
split-complementary
#21399B #9B4621 #769B21
monochromatic
#0C1436 #162669 #21399B #2C4CCD #5A74DC
Accessibility & contrast
On white
9.89
#21399B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#21399B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21399B
9.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21399B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21399B | 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)
#00499E
Deuteranopia (green-blind)
#003D99
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #21399b; /* rgb */ color: rgb(33, 57, 155); /* oklch */ color: oklch(39.4% 0.162 267.5);
Tailwind
colors: {
custom: {
50: '#716fb9',
500: '#21399b',
950: '#000000',
},
}SCSS
$custom: #21399b; $custom-light: #716fb9; $custom-dark: #000000;
JSON
{
"hex": "#21399b",
"rgb": {
"r": 33,
"g": 57,
"b": 155
},
"hsl": {
"h": 228.197,
"s": 64.894,
"l": 36.863
},
"oklch": {
"l": 0.39361,
"c": 0.16187,
"h": 267.5
},
"luminance": 0.05616
}Semantic roles & 50–950 ramp
primary
#21399B
secondary
#C0AC58
accent
#C740E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81