#322F9F#322F9F
#322F9F is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.9% C 0.174 H 275.8°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).
Color values
| HEX | #322F9F |
|---|---|
| RGB | rgb(50, 47, 159) |
| HSL | hsl(242, 54%, 40%) |
| HSV | hsv(242, 70%, 62%) |
| CMYK | cmyk(68.6%, 70.4%, 0%, 37.6%) |
| CIE-LAB | lab(27.33, 37.58, -60.10) |
| CIE-LCH | lch(27.33, 70.88, 302.02°) |
| OKLab | oklab(38.94% 0.0176 -0.1736) |
| OKLCH | oklch(38.94% 0.174 275.8) |
| XYZ | xyz(8.5879, 5.2136, 33.3479) |
| Luminance | 0.0521 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.61
Indigo Blue
#3A18B1
ΔE00 5.43
Blueberry
#464196
ΔE00 5.86
Royal
#0C1793
ΔE00 6.18
Darkslateblue
#483D8B
ΔE00 6.31
Ocean Blue
#4F42B5
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#322F9F #9C9F2F
analogous
#2F649F #322F9F #6A2F9F
triadic
#322F9F #9F322F #2F9F32
tetradic
#322F9F #9F2F64 #9C9F2F #2F9F6A
square
#322F9F #9F2F64 #9C9F2F #2F9F6A
split-complementary
#322F9F #9F6A2F #649F2F
monochromatic
#141341 #232170 #322F9F #4744C8 #7573D6
Accessibility & contrast
On white
10.28
#322F9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#322F9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #322F9F
10.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##322F9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##322F9F | 1.00 | 10.28 | 2.04 | 10.28 |
| #FFFFFF | 10.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#003C9D
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #322f9f; /* rgb */ color: rgb(50, 47, 159); /* oklch */ color: oklch(38.9% 0.174 275.8);
Tailwind
colors: {
custom: {
50: '#7968bc',
500: '#322f9f',
950: '#000000',
},
}SCSS
$custom: #322f9f; $custom-light: #7968bc; $custom-dark: #000000;
JSON
{
"hex": "#322f9f",
"rgb": {
"r": 50,
"g": 47,
"b": 159
},
"hsl": {
"h": 241.607,
"s": 54.369,
"l": 40.392
},
"oklch": {
"l": 0.3894,
"c": 0.17448,
"h": 275.8
},
"luminance": 0.05214
}Semantic roles & 50–950 ramp
primary
#322F9F
secondary
#BBBD6D
accent
#DE4ADA
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81