#322C97#322C97
#322C97 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.7% C 0.167 H 277.2°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).
Color values
| HEX | #322C97 |
|---|---|
| RGB | rgb(50, 44, 151) |
| HSL | hsl(243, 55%, 38%) |
| HSV | hsv(243, 71%, 59%) |
| CMYK | cmyk(66.9%, 70.9%, 0%, 40.8%) |
| CIE-LAB | lab(25.90, 36.67, -57.57) |
| CIE-LCH | lch(25.90, 68.25, 302.50°) |
| OKLab | oklab(37.68% 0.0209 -0.1662) |
| OKLCH | oklch(37.68% 0.167 277.2) |
| XYZ | xyz(7.8002, 4.7132, 29.7708) |
| Luminance | 0.0471 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.75
Royal
#0C1793
ΔE00 5.39
Indigo Blue
#3A18B1
ΔE00 5.54
Darkslateblue
#483D8B
ΔE00 6.24
Blueberry
#464196
ΔE00 6.29
Cobalt Blue
#030AA7
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#322C97 #91972C
analogous
#2C5C97 #322C97 #672C97
triadic
#322C97 #97322C #2C9732
tetradic
#322C97 #972C5C #91972C #2C9767
square
#322C97 #972C5C #91972C #2C9767
split-complementary
#322C97 #97672C #5C972C
monochromatic
#131038 #221E68 #322C97 #423AC6 #706AD4
Accessibility & contrast
On white
10.81
#322C97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#322C97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #322C97
10.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##322C97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##322C97 | 1.00 | 10.81 | 1.94 | 10.81 |
| #FFFFFF | 10.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#003995
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #322c97; /* rgb */ color: rgb(50, 44, 151); /* oklch */ color: oklch(37.7% 0.167 277.2);
Tailwind
colors: {
custom: {
50: '#7866b7',
500: '#322c97',
950: '#000000',
},
}SCSS
$custom: #322c97; $custom-light: #7866b7; $custom-dark: #000000;
JSON
{
"hex": "#322c97",
"rgb": {
"r": 50,
"g": 44,
"b": 151
},
"hsl": {
"h": 243.364,
"s": 54.872,
"l": 38.235
},
"oklch": {
"l": 0.37676,
"c": 0.16749,
"h": 277.2
},
"luminance": 0.04714
}Semantic roles & 50–950 ramp
primary
#322C97
secondary
#B5BA65
accent
#DE4AD6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80