#21329F#21329F
#21329F is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.5% C 0.176 H 268.9°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).
Color values
| HEX | #21329F |
|---|---|
| RGB | rgb(33, 50, 159) |
| HSL | hsl(232, 66%, 38%) |
| HSV | hsv(232, 79%, 62%) |
| CMYK | cmyk(79.2%, 68.6%, 0%, 37.6%) |
| CIE-LAB | lab(27.04, 33.83, -60.62) |
| CIE-LCH | lch(27.04, 69.43, 299.17°) |
| OKLab | oklab(38.46% -0.0033 -0.1755) |
| OKLCH | oklch(38.46% 0.176 268.9) |
| XYZ | xyz(8.0237, 5.1068, 33.3570) |
| Luminance | 0.0511 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.26
Blueberry
#464196
ΔE00 6.15
Royal
#0C1793
ΔE00 6.75
Blue Blue
#2242C7
ΔE00 6.81
Darkslateblue
#483D8B
ΔE00 6.98
Indigo Blue
#3A18B1
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21329F #9F8E21
analogous
#21719F #21329F #4F219F
triadic
#21329F #9F2132 #329F21
tetradic
#21329F #9F2171 #9F8E21 #219F4F
square
#21329F #9F2171 #9F8E21 #219F4F
split-complementary
#21329F #9F4F21 #719F21
monochromatic
#0C123A #16226C #21329F #2C42D2 #5D6EDD
Accessibility & contrast
On white
10.39
#21329F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#21329F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21329F
10.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21329F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21329F | 1.00 | 10.39 | 2.02 | 10.39 |
| #FFFFFF | 10.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#003A9D
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #21329f; /* rgb */ color: rgb(33, 50, 159); /* oklch */ color: oklch(38.5% 0.176 268.9);
Tailwind
colors: {
custom: {
50: '#736abc',
500: '#21329f',
950: '#000000',
},
}SCSS
$custom: #21329f; $custom-light: #736abc; $custom-dark: #000000;
JSON
{
"hex": "#21329f",
"rgb": {
"r": 33,
"g": 50,
"b": 159
},
"hsl": {
"h": 231.905,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.3846,
"c": 0.17555,
"h": 268.9
},
"luminance": 0.05108
}Semantic roles & 50–950 ramp
primary
#21329F
secondary
#C2B45A
accent
#D23FE9
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81