#21399C#21399C
#21399C is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.5% C 0.163 H 267.5°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #21399C |
|---|---|
| RGB | rgb(33, 57, 156) |
| HSL | hsl(228, 65%, 37%) |
| HSV | hsv(228, 79%, 61%) |
| CMYK | cmyk(78.8%, 63.5%, 0%, 38.8%) |
| CIE-LAB | lab(28.51, 28.08, -56.38) |
| CIE-LCH | lch(28.51, 62.99, 296.48°) |
| OKLab | oklab(39.45% -0.0071 -0.1631) |
| OKLCH | oklch(39.45% 0.163 267.5) |
| XYZ | xyz(8.0890, 5.6490, 32.1101) |
| Luminance | 0.0565 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.30
Blueberry
#464196
ΔE00 5.36
Cobalt
#0047AB
ΔE00 5.47
Blue Blue
#2242C7
ΔE00 6.26
Cobalt (survey)
#1E488F
ΔE00 6.37
Darkslateblue
#483D8B
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21399C #9C8421
analogous
#21769C #21399C #47219C
triadic
#21399C #9C2139 #399C21
tetradic
#21399C #9C2176 #9C8421 #219C47
square
#21399C #9C2176 #9C8421 #219C47
split-complementary
#21399C #9C4721 #769C21
monochromatic
#0C1437 #162769 #21399C #2C4BCF #5B74DC
Accessibility & contrast
On white
9.86
#21399C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#21399C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21399C
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21399C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21399C | 1.00 | 9.86 | 2.13 | 9.86 |
| #FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00499F
Deuteranopia (green-blind)
#003E9A
Tritanopia (blue-blind)
#005365
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #21399c; /* rgb */ color: rgb(33, 57, 156); /* oklch */ color: oklch(39.5% 0.163 267.5);
Tailwind
colors: {
custom: {
50: '#716fba',
500: '#21399c',
950: '#000000',
},
}SCSS
$custom: #21399c; $custom-light: #716fba; $custom-dark: #000000;
JSON
{
"hex": "#21399c",
"rgb": {
"r": 33,
"g": 57,
"b": 156
},
"hsl": {
"h": 228.293,
"s": 65.079,
"l": 37.059
},
"oklch": {
"l": 0.39454,
"c": 0.16323,
"h": 267.5
},
"luminance": 0.0565
}Semantic roles & 50–950 ramp
primary
#21399C
secondary
#C1AC58
accent
#C740E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81