#21319F#21319F
#21319F is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.3% C 0.177 H 269.1°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).
Color values
| HEX | #21319F |
|---|---|
| RGB | rgb(33, 49, 159) |
| HSL | hsl(232, 66%, 38%) |
| HSV | hsv(232, 79%, 62%) |
| CMYK | cmyk(79.2%, 69.2%, 0%, 37.6%) |
| CIE-LAB | lab(26.80, 34.48, -61.02) |
| CIE-LCH | lch(26.80, 70.08, 299.47°) |
| OKLab | oklab(38.29% -0.0028 -0.1767) |
| OKLCH | oklch(38.29% 0.177 269.1) |
| XYZ | xyz(7.9814, 5.0223, 33.3429) |
| Luminance | 0.0502 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.47
Blueberry
#464196
ΔE00 6.31
Royal
#0C1793
ΔE00 6.47
Indigo Blue
#3A18B1
ΔE00 6.87
Blue Blue
#2242C7
ΔE00 6.97
Darkslateblue
#483D8B
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21319F #9F8F21
analogous
#21709F #21319F #50219F
triadic
#21319F #9F2131 #319F21
tetradic
#21319F #9F2170 #9F8F21 #219F50
square
#21319F #9F2170 #9F8F21 #219F50
split-complementary
#21319F #9F5021 #709F21
monochromatic
#0C123A #16216C #21319F #2C41D2 #5D6DDD
Accessibility & contrast
On white
10.48
#21319F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#21319F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21319F
10.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21319F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21319F | 1.00 | 10.48 | 2.00 | 10.48 |
| #FFFFFF | 10.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #21319f; /* rgb */ color: rgb(33, 49, 159); /* oklch */ color: oklch(38.3% 0.177 269.1);
Tailwind
colors: {
custom: {
50: '#7369bc',
500: '#21319f',
950: '#000000',
},
}SCSS
$custom: #21319f; $custom-light: #7369bc; $custom-dark: #000000;
JSON
{
"hex": "#21319f",
"rgb": {
"r": 33,
"g": 49,
"b": 159
},
"hsl": {
"h": 232.381,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.38286,
"c": 0.17669,
"h": 269.1
},
"luminance": 0.05023
}Semantic roles & 50–950 ramp
primary
#21319F
secondary
#C2B55A
accent
#D33FE9
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81