#322F94#322F94
#322F94 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.9% C 0.160 H 276.8°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).
Color values
| HEX | #322F94 |
|---|---|
| RGB | rgb(50, 47, 148) |
| HSL | hsl(242, 52%, 38%) |
| HSV | hsv(242, 68%, 58%) |
| CMYK | cmyk(66.2%, 68.2%, 0%, 42%) |
| CIE-LAB | lab(26.30, 33.80, -55.07) |
| CIE-LCH | lch(26.30, 64.61, 301.54°) |
| OKLab | oklab(37.88% 0.0191 -0.1589) |
| OKLCH | oklch(37.88% 0.16 276.8) |
| XYZ | xyz(7.6755, 4.8486, 28.5426) |
| Luminance | 0.0485 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.47
Darkslateblue
#483D8B
ΔE00 5.50
Blueberry
#464196
ΔE00 5.53
Royal
#0C1793
ΔE00 6.11
Indigo Blue
#3A18B1
ΔE00 6.52
Ocean Blue
#4F42B5
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#322F94 #91942F
analogous
#2F5E94 #322F94 #642F94
triadic
#322F94 #94322F #2F9432
tetradic
#322F94 #942F5E #91942F #2F9464
square
#322F94 #942F5E #91942F #2F9464
split-complementary
#322F94 #94642F #5E942F
monochromatic
#131137 #222066 #322F94 #423EC2 #706DD1
Accessibility & contrast
On white
10.66
#322F94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#322F94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #322F94
10.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##322F94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##322F94 | 1.00 | 10.66 | 1.97 | 10.66 |
| #FFFFFF | 10.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#003A92
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #322f94; /* rgb */ color: rgb(50, 47, 148); /* oklch */ color: oklch(37.9% 0.160 276.8);
Tailwind
colors: {
custom: {
50: '#7768b4',
500: '#322f94',
950: '#000000',
},
}SCSS
$custom: #322f94; $custom-light: #7768b4; $custom-dark: #000000;
JSON
{
"hex": "#322f94",
"rgb": {
"r": 50,
"g": 47,
"b": 148
},
"hsl": {
"h": 241.782,
"s": 51.795,
"l": 38.235
},
"oklch": {
"l": 0.37876,
"c": 0.16002,
"h": 276.8
},
"luminance": 0.04849
}Semantic roles & 50–950 ramp
primary
#322F94
secondary
#B5B867
accent
#DB4DD7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80