#322CA2#322CA2
#322CA2 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.8% C 0.182 H 276.0°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).
Color values
| HEX | #322CA2 |
|---|---|
| RGB | rgb(50, 44, 162) |
| HSL | hsl(243, 57%, 40%) |
| HSV | hsv(243, 73%, 64%) |
| CMYK | cmyk(69.1%, 72.8%, 0%, 36.5%) |
| CIE-LAB | lab(26.98, 40.37, -62.50) |
| CIE-LCH | lch(26.98, 74.41, 302.86°) |
| OKLab | oklab(38.78% 0.019 -0.1806) |
| OKLCH | oklch(38.78% 0.182 276) |
| XYZ | xyz(8.7355, 5.0873, 34.6970) |
| Luminance | 0.0509 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.14
Indigo Blue
#3A18B1
ΔE00 4.51
Royal
#0C1793
ΔE00 5.68
Cobalt Blue
#030AA7
ΔE00 6.48
Blueberry
#464196
ΔE00 6.64
True Blue
#010FCC
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#322CA2 #9CA22C
analogous
#2C61A2 #322CA2 #6D2CA2
triadic
#322CA2 #A2322C #2CA232
tetradic
#322CA2 #A22C61 #9CA22C #2CA26D
square
#322CA2 #A22C61 #9CA22C #2CA26D
split-complementary
#322CA2 #A26D2C #61A22C
monochromatic
#141242 #231F72 #322CA2 #4740CB #7570D8
Accessibility & contrast
On white
10.41
#322CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#322CA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #322CA2
10.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##322CA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##322CA2 | 1.00 | 10.41 | 2.02 | 10.41 |
| #FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A5
Deuteranopia (green-blind)
#003AA0
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #322ca2; /* rgb */ color: rgb(50, 44, 162); /* oklch */ color: oklch(38.8% 0.182 276.0);
Tailwind
colors: {
custom: {
50: '#7a67bf',
500: '#322ca2',
950: '#000000',
},
}SCSS
$custom: #322ca2; $custom-light: #7a67bf; $custom-dark: #000000;
JSON
{
"hex": "#322ca2",
"rgb": {
"r": 50,
"g": 44,
"b": 162
},
"hsl": {
"h": 243.051,
"s": 57.282,
"l": 40.392
},
"oklch": {
"l": 0.38776,
"c": 0.1816,
"h": 276
},
"luminance": 0.05088
}Semantic roles & 50–950 ramp
primary
#322CA2
secondary
#BBBF6A
accent
#E147D9
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81