#21399F#21399F
#21399F is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.7% C 0.167 H 267.5°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).
Color values
| HEX | #21399F |
|---|---|
| RGB | rgb(33, 57, 159) |
| HSL | hsl(229, 66%, 38%) |
| HSV | hsv(229, 79%, 62%) |
| CMYK | cmyk(79.2%, 64.2%, 0%, 37.6%) |
| CIE-LAB | lab(28.78, 29.23, -57.77) |
| CIE-LCH | lch(28.78, 64.74, 296.84°) |
| OKLab | oklab(39.74% -0.0072 -0.1671) |
| OKLCH | oklch(39.74% 0.167 267.5) |
| XYZ | xyz(8.3462, 5.7518, 33.4645) |
| Luminance | 0.0575 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.85
Blueberry
#464196
ΔE00 5.40
Cobalt
#0047AB
ΔE00 5.44
Blue Blue
#2242C7
ΔE00 5.87
Cobalt (survey)
#1E488F
ΔE00 6.59
Darkslateblue
#483D8B
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21399F #9F8721
analogous
#21789F #21399F #48219F
triadic
#21399F #9F2139 #399F21
tetradic
#21399F #9F2178 #9F8721 #219F48
square
#21399F #9F2178 #9F8721 #219F48
split-complementary
#21399F #9F4821 #789F21
monochromatic
#0C153A #16276C #21399F #2C4BD2 #5D75DD
Accessibility & contrast
On white
9.76
#21399F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#21399F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21399F
9.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21399F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21399F | 1.00 | 9.76 | 2.15 | 9.76 |
| #FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#005466
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #21399f; /* rgb */ color: rgb(33, 57, 159); /* oklch */ color: oklch(39.7% 0.167 267.5);
Tailwind
colors: {
custom: {
50: '#726fbc',
500: '#21399f',
950: '#000000',
},
}SCSS
$custom: #21399f; $custom-light: #726fbc; $custom-dark: #000000;
JSON
{
"hex": "#21399f",
"rgb": {
"r": 33,
"g": 57,
"b": 159
},
"hsl": {
"h": 228.571,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.39735,
"c": 0.16727,
"h": 267.5
},
"luminance": 0.05753
}Semantic roles & 50–950 ramp
primary
#21399F
secondary
#C2AE5A
accent
#C83FE9
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090712
muted
#7B7A81