#322FA6#322FA6
#322FA6 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.6% C 0.183 H 275.2°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).
Color values
| HEX | #322FA6 |
|---|---|
| RGB | rgb(50, 47, 166) |
| HSL | hsl(242, 56%, 42%) |
| HSV | hsv(242, 72%, 65%) |
| CMYK | cmyk(69.9%, 71.7%, 0%, 34.9%) |
| CIE-LAB | lab(28.02, 39.95, -63.22) |
| CIE-LCH | lch(28.02, 74.78, 302.29°) |
| OKLab | oklab(39.64% 0.0165 -0.1827) |
| OKLCH | oklch(39.64% 0.183 275.2) |
| XYZ | xyz(9.2126, 5.4635, 36.6381) |
| Luminance | 0.0546 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.37
Indigo Blue
#3A18B1
ΔE00 4.95
Blueberry
#464196
ΔE00 6.22
Ocean Blue
#4F42B5
ΔE00 6.24
Royal
#0C1793
ΔE00 6.48
True Blue
#010FCC
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#322FA6 #A3A62F
analogous
#2F67A6 #322FA6 #6E2FA6
triadic
#322FA6 #A6322F #2FA632
tetradic
#322FA6 #A62F67 #A3A62F #2FA66E
square
#322FA6 #A62F67 #A3A62F #2FA66E
split-complementary
#322FA6 #A66E2F #67A62F
monochromatic
#151447 #242176 #322FA6 #4B47CB #7977D8
Accessibility & contrast
On white
10.03
#322FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#322FA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #322FA6
10.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##322FA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##322FA6 | 1.00 | 10.03 | 2.09 | 10.03 |
| #FFFFFF | 10.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AA
Deuteranopia (green-blind)
#003DA4
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #322fa6; /* rgb */ color: rgb(50, 47, 166); /* oklch */ color: oklch(39.6% 0.183 275.2);
Tailwind
colors: {
custom: {
50: '#7b69c2',
500: '#322fa6',
950: '#000000',
},
}SCSS
$custom: #322fa6; $custom-light: #7b69c2; $custom-dark: #000000;
JSON
{
"hex": "#322fa6",
"rgb": {
"r": 50,
"g": 47,
"b": 166
},
"hsl": {
"h": 241.513,
"s": 55.869,
"l": 41.765
},
"oklch": {
"l": 0.39635,
"c": 0.18345,
"h": 275.2
},
"luminance": 0.05464
}Semantic roles & 50–950 ramp
primary
#322FA6
secondary
#BFC170
accent
#DF49DB
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81