#322EA8#322EA8
#322EA8 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.7% C 0.187 H 275.1°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).
Color values
| HEX | #322EA8 |
|---|---|
| RGB | rgb(50, 46, 168) |
| HSL | hsl(242, 57%, 42%) |
| HSV | hsv(242, 73%, 66%) |
| CMYK | cmyk(70.2%, 72.6%, 0%, 34.1%) |
| CIE-LAB | lab(28.00, 41.21, -64.45) |
| CIE-LCH | lch(28.00, 76.50, 302.60°) |
| OKLab | oklab(39.68% 0.0168 -0.1863) |
| OKLCH | oklch(39.68% 0.187 275.1) |
| XYZ | xyz(9.3579, 5.4584, 37.5986) |
| Luminance | 0.0546 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.58
Indigo Blue
#3A18B1
ΔE00 4.60
Ocean Blue
#4F42B5
ΔE00 6.31
Royal
#0C1793
ΔE00 6.40
True Blue
#010FCC
ΔE00 6.44
Blueberry
#464196
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#322EA8 #A4A82E
analogous
#2E67A8 #322EA8 #6F2EA8
triadic
#322EA8 #A8322E #2EA832
tetradic
#322EA8 #A82E67 #A4A82E #2EA86F
square
#322EA8 #A82E67 #A4A82E #2EA86F
split-complementary
#322EA8 #A86F2E #67A82E
monochromatic
#151448 #242178 #322EA8 #4B47CD #7A77DA
Accessibility & contrast
On white
10.04
#322EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#322EA8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #322EA8
10.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##322EA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##322EA8 | 1.00 | 10.04 | 2.09 | 10.04 |
| #FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048AC
Deuteranopia (green-blind)
#003CA6
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #322ea8; /* rgb */ color: rgb(50, 46, 168); /* oklch */ color: oklch(39.7% 0.187 275.1);
Tailwind
colors: {
custom: {
50: '#7b68c3',
500: '#322ea8',
950: '#000000',
},
}SCSS
$custom: #322ea8; $custom-light: #7b68c3; $custom-dark: #000000;
JSON
{
"hex": "#322ea8",
"rgb": {
"r": 50,
"g": 46,
"b": 168
},
"hsl": {
"h": 241.967,
"s": 57.009,
"l": 41.961
},
"oklch": {
"l": 0.39685,
"c": 0.18704,
"h": 275.1
},
"luminance": 0.05459
}Semantic roles & 50–950 ramp
primary
#322EA8
secondary
#BFC270
accent
#E048DB
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82