#322F7B#322F7B
#322F7B is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.6% C 0.125 H 279.7°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).
Color values
| HEX | #322F7B |
|---|---|
| RGB | rgb(50, 47, 123) |
| HSL | hsl(242, 45%, 33%) |
| HSV | hsv(242, 62%, 48%) |
| CMYK | cmyk(59.3%, 61.8%, 0%, 51.8%) |
| CIE-LAB | lab(24.13, 25.06, -43.01) |
| CIE-LCH | lch(24.13, 49.77, 300.23°) |
| OKLab | oklab(35.62% 0.0211 -0.1235) |
| OKLCH | oklch(35.62% 0.125 279.7) |
| XYZ | xyz(5.9059, 4.1408, 19.2231) |
| Luminance | 0.0414 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.13
Midnight Blue
#191970
ΔE00 6.28
Blueberry
#464196
ΔE00 6.41
Sapphire (survey)
#2138AB
ΔE00 7.83
Royal
#0C1793
ΔE00 8.02
Marine
#042E60
ΔE00 8.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#322F7B #787B2F
analogous
#2F527B #322F7B #582F7B
triadic
#322F7B #7B322F #2F7B32
tetradic
#322F7B #7B2F52 #787B2F #2F7B58
square
#322F7B #7B2F52 #787B2F #2F7B58
split-complementary
#322F7B #7B582F #527B2F
monochromatic
#0E0D22 #201E4F #322F7B #4440A7 #6562C3
Accessibility & contrast
On white
11.49
#322F7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#322F7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #322F7B
11.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##322F7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##322F7B | 1.00 | 11.49 | 1.83 | 11.49 |
| #FFFFFF | 11.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C7E
Deuteranopia (green-blind)
#003679
Tritanopia (blue-blind)
#084150
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #322f7b; /* rgb */ color: rgb(50, 47, 123); /* oklch */ color: oklch(35.6% 0.125 279.7);
Tailwind
colors: {
custom: {
50: '#7267a2',
500: '#322f7b',
950: '#000000',
},
}SCSS
$custom: #322f7b; $custom-light: #7267a2; $custom-dark: #000000;
JSON
{
"hex": "#322f7b",
"rgb": {
"r": 50,
"g": 47,
"b": 123
},
"hsl": {
"h": 242.368,
"s": 44.706,
"l": 33.333
},
"oklch": {
"l": 0.3562,
"c": 0.12525,
"h": 279.7
},
"luminance": 0.04141
}Semantic roles & 50–950 ramp
primary
#322F7B
secondary
#A7AA5C
accent
#D453CF
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08060F
muted
#7B7A7F