#322F7E#322F7E
#322F7E is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.130 H 279.3°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).
Color values
| HEX | #322F7E |
|---|---|
| RGB | rgb(50, 47, 126) |
| HSL | hsl(242, 46%, 34%) |
| HSV | hsv(242, 63%, 49%) |
| CMYK | cmyk(60.3%, 62.7%, 0%, 50.6%) |
| CIE-LAB | lab(24.38, 26.11, -44.50) |
| CIE-LCH | lch(24.38, 51.60, 300.40°) |
| OKLab | oklab(35.88% 0.021 -0.1279) |
| OKLCH | oklch(35.88% 0.13 279.3) |
| XYZ | xyz(6.0966, 4.2171, 20.2273) |
| Luminance | 0.0422 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.01
Blueberry
#464196
ΔE00 6.17
Midnight Blue
#191970
ΔE00 6.27
Sapphire (survey)
#2138AB
ΔE00 7.35
Royal
#0C1793
ΔE00 7.65
Marine
#042E60
ΔE00 8.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#322F7E #7B7E2F
analogous
#2F547E #322F7E #5A2F7E
triadic
#322F7E #7E322F #2F7E32
tetradic
#322F7E #7E2F54 #7B7E2F #2F7E5A
square
#322F7E #7E2F54 #7B7E2F #2F7E5A
split-complementary
#322F7E #7E5A2F #547E2F
monochromatic
#0F0E25 #201E51 #322F7E #4440AB #6663C5
Accessibility & contrast
On white
11.39
#322F7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#322F7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #322F7E
11.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##322F7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##322F7E | 1.00 | 11.39 | 1.84 | 11.39 |
| #FFFFFF | 11.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#00377C
Tritanopia (blue-blind)
#024251
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #322f7e; /* rgb */ color: rgb(50, 47, 126); /* oklch */ color: oklch(35.9% 0.130 279.3);
Tailwind
colors: {
custom: {
50: '#7267a4',
500: '#322f7e',
950: '#000000',
},
}SCSS
$custom: #322f7e; $custom-light: #7267a4; $custom-dark: #000000;
JSON
{
"hex": "#322f7e",
"rgb": {
"r": 50,
"g": 47,
"b": 126
},
"hsl": {
"h": 242.278,
"s": 45.665,
"l": 33.922
},
"oklch": {
"l": 0.35877,
"c": 0.12958,
"h": 279.3
},
"luminance": 0.04217
}Semantic roles & 50–950 ramp
primary
#322F7E
secondary
#A9AC5D
accent
#D552D0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F