#322FA7#322FA7
#322FA7 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.7% C 0.185 H 275.1°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).
Color values
| HEX | #322FA7 |
|---|---|
| RGB | rgb(50, 47, 167) |
| HSL | hsl(242, 56%, 42%) |
| HSV | hsv(242, 72%, 65%) |
| CMYK | cmyk(70.1%, 71.9%, 0%, 34.5%) |
| CIE-LAB | lab(28.12, 40.29, -63.66) |
| CIE-LCH | lch(28.12, 75.34, 302.33°) |
| OKLab | oklab(39.74% 0.0163 -0.184) |
| OKLCH | oklch(39.74% 0.185 275.1) |
| XYZ | xyz(9.3047, 5.5003, 37.1230) |
| Luminance | 0.0550 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.36
Indigo Blue
#3A18B1
ΔE00 4.89
Ocean Blue
#4F42B5
ΔE00 6.19
Blueberry
#464196
ΔE00 6.28
Royal
#0C1793
ΔE00 6.53
True Blue
#010FCC
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#322FA7 #A4A72F
analogous
#2F68A7 #322FA7 #6E2FA7
triadic
#322FA7 #A7322F #2FA732
tetradic
#322FA7 #A72F68 #A4A72F #2FA76E
square
#322FA7 #A72F68 #A4A72F #2FA76E
split-complementary
#322FA7 #A76E2F #68A72F
monochromatic
#151447 #242277 #322FA7 #4B48CB #7A78D9
Accessibility & contrast
On white
10.00
#322FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#322FA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #322FA7
10.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##322FA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##322FA7 | 1.00 | 10.00 | 2.10 | 10.00 |
| #FFFFFF | 10.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048AB
Deuteranopia (green-blind)
#003DA5
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #322fa7; /* rgb */ color: rgb(50, 47, 167); /* oklch */ color: oklch(39.7% 0.185 275.1);
Tailwind
colors: {
custom: {
50: '#7b69c2',
500: '#322fa7',
950: '#000000',
},
}SCSS
$custom: #322fa7; $custom-light: #7b69c2; $custom-dark: #000000;
JSON
{
"hex": "#322fa7",
"rgb": {
"r": 50,
"g": 47,
"b": 167
},
"hsl": {
"h": 241.5,
"s": 56.075,
"l": 41.961
},
"oklch": {
"l": 0.39736,
"c": 0.18472,
"h": 275.1
},
"luminance": 0.05501
}Semantic roles & 50–950 ramp
primary
#322FA7
secondary
#BFC171
accent
#DF48DC
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82