#322CA1#322CA1
#322CA1 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.7% C 0.180 H 276.1°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).
Color values
| HEX | #322CA1 |
|---|---|
| RGB | rgb(50, 44, 161) |
| HSL | hsl(243, 57%, 40%) |
| HSV | hsv(243, 73%, 63%) |
| CMYK | cmyk(68.9%, 72.7%, 0%, 36.9%) |
| CIE-LAB | lab(26.88, 40.04, -62.06) |
| CIE-LCH | lch(26.88, 73.85, 302.83°) |
| OKLab | oklab(38.67% 0.0192 -0.1793) |
| OKLCH | oklch(38.67% 0.18 276.1) |
| XYZ | xyz(8.6470, 5.0519, 34.2307) |
| Luminance | 0.0505 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.17
Indigo Blue
#3A18B1
ΔE00 4.58
Royal
#0C1793
ΔE00 5.63
Cobalt Blue
#030AA7
ΔE00 6.50
Blueberry
#464196
ΔE00 6.60
Ultramarine
#2000B1
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#322CA1 #9BA12C
analogous
#2C60A1 #322CA1 #6C2CA1
triadic
#322CA1 #A1322C #2CA132
tetradic
#322CA1 #A12C60 #9BA12C #2CA16C
square
#322CA1 #A12C60 #9BA12C #2CA16C
split-complementary
#322CA1 #A16C2C #60A12C
monochromatic
#141241 #231F71 #322CA1 #4740CB #7570D8
Accessibility & contrast
On white
10.44
#322CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#322CA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #322CA1
10.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##322CA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##322CA1 | 1.00 | 10.44 | 2.01 | 10.44 |
| #FFFFFF | 10.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A4
Deuteranopia (green-blind)
#003A9F
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #322ca1; /* rgb */ color: rgb(50, 44, 161); /* oklch */ color: oklch(38.7% 0.180 276.1);
Tailwind
colors: {
custom: {
50: '#7a67be',
500: '#322ca1',
950: '#000000',
},
}SCSS
$custom: #322ca1; $custom-light: #7a67be; $custom-dark: #000000;
JSON
{
"hex": "#322ca1",
"rgb": {
"r": 50,
"g": 44,
"b": 161
},
"hsl": {
"h": 243.077,
"s": 57.073,
"l": 40.196
},
"oklch": {
"l": 0.38675,
"c": 0.18034,
"h": 276.1
},
"luminance": 0.05053
}Semantic roles & 50–950 ramp
primary
#322CA1
secondary
#BBBF6A
accent
#E047D8
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81