#21399E#21399E
#21399E is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.6% C 0.166 H 267.5°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).
Color values
| HEX | #21399E |
|---|---|
| RGB | rgb(33, 57, 158) |
| HSL | hsl(228, 65%, 37%) |
| HSV | hsv(228, 79%, 62%) |
| CMYK | cmyk(79.1%, 63.9%, 0%, 38%) |
| CIE-LAB | lab(28.69, 28.85, -57.31) |
| CIE-LCH | lch(28.69, 64.16, 296.72°) |
| OKLab | oklab(39.64% -0.0072 -0.1658) |
| OKLCH | oklch(39.64% 0.166 267.5) |
| XYZ | xyz(8.2597, 5.7173, 33.0093) |
| Luminance | 0.0572 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.00
Blueberry
#464196
ΔE00 5.38
Cobalt
#0047AB
ΔE00 5.44
Blue Blue
#2242C7
ΔE00 6.00
Cobalt (survey)
#1E488F
ΔE00 6.51
Darkslateblue
#483D8B
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21399E #9E8621
analogous
#21789E #21399E #48219E
triadic
#21399E #9E2139 #399E21
tetradic
#21399E #9E2178 #9E8621 #219E48
square
#21399E #9E2178 #9E8621 #219E48
split-complementary
#21399E #9E4821 #789E21
monochromatic
#0C1439 #16276B #21399E #2C4BD1 #5C75DD
Accessibility & contrast
On white
9.80
#21399E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#21399E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21399E
9.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21399E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21399E | 1.00 | 9.80 | 2.14 | 9.80 |
| #FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AA1
Deuteranopia (green-blind)
#003E9C
Tritanopia (blue-blind)
#005366
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #21399e; /* rgb */ color: rgb(33, 57, 158); /* oklch */ color: oklch(39.6% 0.166 267.5);
Tailwind
colors: {
custom: {
50: '#726fbc',
500: '#21399e',
950: '#000000',
},
}SCSS
$custom: #21399e; $custom-light: #726fbc; $custom-dark: #000000;
JSON
{
"hex": "#21399e",
"rgb": {
"r": 33,
"g": 57,
"b": 158
},
"hsl": {
"h": 228.48,
"s": 65.445,
"l": 37.451
},
"oklch": {
"l": 0.39641,
"c": 0.16593,
"h": 267.5
},
"luminance": 0.05718
}Semantic roles & 50–950 ramp
primary
#21399E
secondary
#C1AD59
accent
#C83FE8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81