#322C8E#322C8E
#322C8E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.8% C 0.156 H 278.2°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).
Color values
| HEX | #322C8E |
|---|---|
| RGB | rgb(50, 44, 142) |
| HSL | hsl(244, 53%, 36%) |
| HSV | hsv(244, 69%, 56%) |
| CMYK | cmyk(64.8%, 69%, 0%, 44.3%) |
| CIE-LAB | lab(25.05, 33.60, -53.41) |
| CIE-LCH | lch(25.05, 63.10, 302.18°) |
| OKLab | oklab(36.8% 0.0223 -0.154) |
| OKLCH | oklch(36.8% 0.156 278.2) |
| XYZ | xyz(7.0970, 4.4319, 26.0674) |
| Luminance | 0.0443 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 5.58
Sapphire (survey)
#2138AB
ΔE00 5.59
Darkslateblue
#483D8B
ΔE00 5.77
Blueberry
#464196
ΔE00 6.22
Midnight Blue
#191970
ΔE00 6.52
Indigo Blue
#3A18B1
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#322C8E #888E2C
analogous
#2C578E #322C8E #632C8E
triadic
#322C8E #8E322C #2C8E32
tetradic
#322C8E #8E2C57 #888E2C #2C8E63
square
#322C8E #8E2C57 #888E2C #2C8E63
split-complementary
#322C8E #8E632C #578E2C
monochromatic
#110F31 #221E5F #322C8E #423ABD #6C65CF
Accessibility & contrast
On white
11.13
#322C8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#322C8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #322C8E
11.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##322C8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##322C8E | 1.00 | 11.13 | 1.89 | 11.13 |
| #FFFFFF | 11.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #322c8e; /* rgb */ color: rgb(50, 44, 142); /* oklch */ color: oklch(36.8% 0.156 278.2);
Tailwind
colors: {
custom: {
50: '#7666b0',
500: '#322c8e',
950: '#000000',
},
}SCSS
$custom: #322c8e; $custom-light: #7666b0; $custom-dark: #000000;
JSON
{
"hex": "#322c8e",
"rgb": {
"r": 50,
"g": 44,
"b": 142
},
"hsl": {
"h": 243.673,
"s": 52.688,
"l": 36.471
},
"oklch": {
"l": 0.36804,
"c": 0.15562,
"h": 278.2
},
"luminance": 0.04432
}Semantic roles & 50–950 ramp
primary
#322C8E
secondary
#B0B660
accent
#DC4CD3
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#090611
muted
#7B7A80