#21329B#21329B
#21329B is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.1% C 0.170 H 269.0°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).
Color values
| HEX | #21329B |
|---|---|
| RGB | rgb(33, 50, 155) |
| HSL | hsl(232, 65%, 37%) |
| HSV | hsv(232, 79%, 61%) |
| CMYK | cmyk(78.7%, 67.7%, 0%, 39.2%) |
| CIE-LAB | lab(26.65, 32.35, -58.82) |
| CIE-LCH | lch(26.65, 67.13, 298.81°) |
| OKLab | oklab(38.06% -0.003 -0.1703) |
| OKLCH | oklch(38.06% 0.17 269) |
| XYZ | xyz(7.6822, 4.9702, 31.5585) |
| Luminance | 0.0497 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.67
Blueberry
#464196
ΔE00 6.07
Royal
#0C1793
ΔE00 6.74
Darkslateblue
#483D8B
ΔE00 6.78
Blue Blue
#2242C7
ΔE00 7.23
Indigo Blue
#3A18B1
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21329B #9B8A21
analogous
#216F9B #21329B #4D219B
triadic
#21329B #9B2132 #329B21
tetradic
#21329B #9B216F #9B8A21 #219B4D
square
#21329B #9B216F #9B8A21 #219B4D
split-complementary
#21329B #9B4D21 #6F9B21
monochromatic
#0C1136 #162269 #21329B #2C42CD #5A6CDC
Accessibility & contrast
On white
10.53
#21329B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#21329B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21329B
10.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21329B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21329B | 1.00 | 10.53 | 1.99 | 10.53 |
| #FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459E
Deuteranopia (green-blind)
#003999
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #21329b; /* rgb */ color: rgb(33, 50, 155); /* oklch */ color: oklch(38.1% 0.170 269.0);
Tailwind
colors: {
custom: {
50: '#716aba',
500: '#21329b',
950: '#000000',
},
}SCSS
$custom: #21329b; $custom-light: #716aba; $custom-dark: #000000;
JSON
{
"hex": "#21329b",
"rgb": {
"r": 33,
"g": 50,
"b": 155
},
"hsl": {
"h": 231.639,
"s": 64.894,
"l": 36.863
},
"oklch": {
"l": 0.3806,
"c": 0.1703,
"h": 269
},
"luminance": 0.04971
}Semantic roles & 50–950 ramp
primary
#21329B
secondary
#C0B258
accent
#D040E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81