#322EA4#322EA4
#322EA4 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.3% C 0.182 H 275.5°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).
Color values
| HEX | #322EA4 |
|---|---|
| RGB | rgb(50, 46, 164) |
| HSL | hsl(242, 56%, 41%) |
| HSV | hsv(242, 72%, 64%) |
| CMYK | cmyk(69.5%, 72%, 0%, 35.7%) |
| CIE-LAB | lab(27.60, 39.87, -62.69) |
| CIE-LCH | lch(27.60, 74.29, 302.46°) |
| OKLab | oklab(39.28% 0.0174 -0.1811) |
| OKLCH | oklch(39.28% 0.182 275.5) |
| XYZ | xyz(8.9910, 5.3116, 35.6662) |
| Luminance | 0.0531 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.63
Indigo Blue
#3A18B1
ΔE00 4.82
Royal
#0C1793
ΔE00 6.17
Blueberry
#464196
ΔE00 6.32
Ocean Blue
#4F42B5
ΔE00 6.52
True Blue
#010FCC
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#322EA4 #A0A42E
analogous
#2E65A4 #322EA4 #6D2EA4
triadic
#322EA4 #A4322E #2EA432
tetradic
#322EA4 #A42E65 #A0A42E #2EA46D
square
#322EA4 #A42E65 #A0A42E #2EA46D
split-complementary
#322EA4 #A46D2E #65A42E
monochromatic
#151344 #232174 #322EA4 #4945CB #7874D8
Accessibility & contrast
On white
10.18
#322EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#322EA4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #322EA4
10.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##322EA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##322EA4 | 1.00 | 10.18 | 2.06 | 10.18 |
| #FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A8
Deuteranopia (green-blind)
#003CA2
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #322ea4; /* rgb */ color: rgb(50, 46, 164); /* oklch */ color: oklch(39.3% 0.182 275.5);
Tailwind
colors: {
custom: {
50: '#7a68c0',
500: '#322ea4',
950: '#000000',
},
}SCSS
$custom: #322ea4; $custom-light: #7a68c0; $custom-dark: #000000;
JSON
{
"hex": "#322ea4",
"rgb": {
"r": 50,
"g": 46,
"b": 164
},
"hsl": {
"h": 242.034,
"s": 56.19,
"l": 41.176
},
"oklch": {
"l": 0.39281,
"c": 0.18199,
"h": 275.5
},
"luminance": 0.05312
}Semantic roles & 50–950 ramp
primary
#322EA4
secondary
#BDC06E
accent
#DF48DA
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81