#21329C#21329C
#21329C is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.2% C 0.172 H 269.0°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).
Color values
| HEX | #21329C |
|---|---|
| RGB | rgb(33, 50, 156) |
| HSL | hsl(232, 65%, 37%) |
| HSV | hsv(232, 79%, 61%) |
| CMYK | cmyk(78.8%, 67.9%, 0%, 38.8%) |
| CIE-LAB | lab(26.75, 32.72, -59.28) |
| CIE-LCH | lch(26.75, 67.71, 298.90°) |
| OKLab | oklab(38.16% -0.0031 -0.1716) |
| OKLCH | oklch(38.16% 0.172 269) |
| XYZ | xyz(7.7665, 5.0040, 32.0026) |
| Luminance | 0.0500 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.56
Blueberry
#464196
ΔE00 6.08
Royal
#0C1793
ΔE00 6.74
Darkslateblue
#483D8B
ΔE00 6.82
Blue Blue
#2242C7
ΔE00 7.12
Indigo Blue
#3A18B1
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21329C #9C8B21
analogous
#21709C #21329C #4D219C
triadic
#21329C #9C2132 #329C21
tetradic
#21329C #9C2170 #9C8B21 #219C4D
square
#21329C #9C2170 #9C8B21 #219C4D
split-complementary
#21329C #9C4D21 #709C21
monochromatic
#0C1237 #162269 #21329C #2C42CF #5B6DDC
Accessibility & contrast
On white
10.49
#21329C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#21329C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21329C
10.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21329C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21329C | 1.00 | 10.49 | 2.00 | 10.49 |
| #FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459F
Deuteranopia (green-blind)
#00399A
Tritanopia (blue-blind)
#004F62
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #21329c; /* rgb */ color: rgb(33, 50, 156); /* oklch */ color: oklch(38.2% 0.172 269.0);
Tailwind
colors: {
custom: {
50: '#726aba',
500: '#21329c',
950: '#000000',
},
}SCSS
$custom: #21329c; $custom-light: #726aba; $custom-dark: #000000;
JSON
{
"hex": "#21329c",
"rgb": {
"r": 33,
"g": 50,
"b": 156
},
"hsl": {
"h": 231.707,
"s": 65.079,
"l": 37.059
},
"oklch": {
"l": 0.38159,
"c": 0.17162,
"h": 269
},
"luminance": 0.05005
}Semantic roles & 50–950 ramp
primary
#21329C
secondary
#C1B258
accent
#D140E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81