#322EA7#322EA7
#322EA7 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.6% C 0.186 H 275.2°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).
Color values
| HEX | #322EA7 |
|---|---|
| RGB | rgb(50, 46, 167) |
| HSL | hsl(242, 57%, 42%) |
| HSV | hsv(242, 72%, 65%) |
| CMYK | cmyk(70.1%, 72.5%, 0%, 34.5%) |
| CIE-LAB | lab(27.90, 40.88, -64.01) |
| CIE-LCH | lch(27.90, 75.95, 302.56°) |
| OKLab | oklab(39.58% 0.0169 -0.185) |
| OKLCH | oklch(39.58% 0.186 275.2) |
| XYZ | xyz(9.2651, 5.4213, 37.1099) |
| Luminance | 0.0542 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.58
Indigo Blue
#3A18B1
ΔE00 4.65
Royal
#0C1793
ΔE00 6.34
Ocean Blue
#4F42B5
ΔE00 6.36
Blueberry
#464196
ΔE00 6.48
True Blue
#010FCC
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#322EA7 #A3A72E
analogous
#2E67A7 #322EA7 #6E2EA7
triadic
#322EA7 #A7322E #2EA732
tetradic
#322EA7 #A72E67 #A3A72E #2EA76E
square
#322EA7 #A72E67 #A3A72E #2EA76E
split-complementary
#322EA7 #A76E2E #67A72E
monochromatic
#151447 #242177 #322EA7 #4B46CC #7976D9
Accessibility & contrast
On white
10.07
#322EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#322EA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #322EA7
10.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##322EA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##322EA7 | 1.00 | 10.07 | 2.08 | 10.07 |
| #FFFFFF | 10.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AB
Deuteranopia (green-blind)
#003CA5
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #322ea7; /* rgb */ color: rgb(50, 46, 167); /* oklch */ color: oklch(39.6% 0.186 275.2);
Tailwind
colors: {
custom: {
50: '#7b68c2',
500: '#322ea7',
950: '#000000',
},
}SCSS
$custom: #322ea7; $custom-light: #7b68c2; $custom-dark: #000000;
JSON
{
"hex": "#322ea7",
"rgb": {
"r": 50,
"g": 46,
"b": 167
},
"hsl": {
"h": 241.983,
"s": 56.808,
"l": 41.765
},
"oklch": {
"l": 0.39584,
"c": 0.18578,
"h": 275.2
},
"luminance": 0.05422
}Semantic roles & 50–950 ramp
primary
#322EA7
secondary
#BFC170
accent
#E048DB
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82