#322EA5#322EA5
#322EA5 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.4% C 0.183 H 275.4°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).
Color values
| HEX | #322EA5 |
|---|---|
| RGB | rgb(50, 46, 165) |
| HSL | hsl(242, 56%, 41%) |
| HSV | hsv(242, 72%, 65%) |
| CMYK | cmyk(69.7%, 72.1%, 0%, 35.3%) |
| CIE-LAB | lab(27.70, 40.21, -63.13) |
| CIE-LCH | lch(27.70, 74.84, 302.49°) |
| OKLab | oklab(39.38% 0.0173 -0.1824) |
| OKLCH | oklch(39.38% 0.183 275.4) |
| XYZ | xyz(9.0817, 5.3479, 36.1437) |
| Luminance | 0.0535 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.61
Indigo Blue
#3A18B1
ΔE00 4.76
Royal
#0C1793
ΔE00 6.23
Blueberry
#464196
ΔE00 6.37
Ocean Blue
#4F42B5
ΔE00 6.46
True Blue
#010FCC
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#322EA5 #A1A52E
analogous
#2E66A5 #322EA5 #6E2EA5
triadic
#322EA5 #A5322E #2EA532
tetradic
#322EA5 #A52E66 #A1A52E #2EA56E
square
#322EA5 #A52E66 #A1A52E #2EA56E
split-complementary
#322EA5 #A56E2E #66A52E
monochromatic
#151345 #232175 #322EA5 #4A45CB #7875D8
Accessibility & contrast
On white
10.15
#322EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#322EA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #322EA5
10.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##322EA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##322EA5 | 1.00 | 10.15 | 2.07 | 10.15 |
| #FFFFFF | 10.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A9
Deuteranopia (green-blind)
#003CA3
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #322ea5; /* rgb */ color: rgb(50, 46, 165); /* oklch */ color: oklch(39.4% 0.183 275.4);
Tailwind
colors: {
custom: {
50: '#7b68c1',
500: '#322ea5',
950: '#000000',
},
}SCSS
$custom: #322ea5; $custom-light: #7b68c1; $custom-dark: #000000;
JSON
{
"hex": "#322ea5",
"rgb": {
"r": 50,
"g": 46,
"b": 165
},
"hsl": {
"h": 242.017,
"s": 56.398,
"l": 41.373
},
"oklch": {
"l": 0.39382,
"c": 0.18325,
"h": 275.4
},
"luminance": 0.05349
}Semantic roles & 50–950 ramp
primary
#322EA5
secondary
#BEC06F
accent
#E048DB
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81