#322B76#322B76
#322B76 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.4% C 0.124 H 281.9°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).
Color values
| HEX | #322B76 |
|---|---|
| RGB | rgb(50, 43, 118) |
| HSL | hsl(246, 47%, 32%) |
| HSV | hsv(246, 64%, 46%) |
| CMYK | cmyk(57.6%, 63.6%, 0%, 53.7%) |
| CIE-LAB | lab(22.70, 25.97, -42.15) |
| CIE-LCH | lch(22.70, 49.51, 301.64°) |
| OKLab | oklab(34.44% 0.0256 -0.121) |
| OKLCH | oklch(34.44% 0.124 281.9) |
| XYZ | xyz(5.4483, 3.7135, 17.5657) |
| Luminance | 0.0371 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.36
Darkslateblue
#483D8B
ΔE00 6.06
Blueberry
#464196
ΔE00 7.57
Royal
#0C1793
ΔE00 7.79
Indigo (survey)
#380282
ΔE00 8.83
Marine
#042E60
ΔE00 8.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#322B76 #6F762B
analogous
#2B4A76 #322B76 #582B76
triadic
#322B76 #76322B #2B7632
tetradic
#322B76 #762B4A #6F762B #2B7658
square
#322B76 #762B4A #6F762B #2B7658
split-complementary
#322B76 #76582B #4A762B
monochromatic
#0C0A1C #1F1B49 #322B76 #453BA3 #6359C2
Accessibility & contrast
On white
12.05
#322B76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#322B76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #322B76
12.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##322B76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##322B76 | 1.00 | 12.05 | 1.74 | 12.05 |
| #FFFFFF | 12.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003978
Deuteranopia (green-blind)
#003474
Tritanopia (blue-blind)
#113D4C
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #322b76; /* rgb */ color: rgb(50, 43, 118); /* oklch */ color: oklch(34.4% 0.124 281.9);
Tailwind
colors: {
custom: {
50: '#71649e',
500: '#322b76',
950: '#000000',
},
}SCSS
$custom: #322b76; $custom-light: #71649e; $custom-dark: #000000;
JSON
{
"hex": "#322b76",
"rgb": {
"r": 50,
"g": 43,
"b": 118
},
"hsl": {
"h": 245.6,
"s": 46.584,
"l": 31.569
},
"oklch": {
"l": 0.34439,
"c": 0.12365,
"h": 281.9
},
"luminance": 0.03714
}Semantic roles & 50–950 ramp
primary
#322B76
secondary
#A0A855
accent
#D652CA
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08050E
muted
#7B7A7E