#332E7E#332E7E
#332E7E is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.8% C 0.131 H 280.3°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).
Color values
| HEX | #332E7E |
|---|---|
| RGB | rgb(51, 46, 126) |
| HSL | hsl(244, 47%, 34%) |
| HSV | hsv(244, 63%, 49%) |
| CMYK | cmyk(59.5%, 63.5%, 0%, 50.6%) |
| CIE-LAB | lab(24.21, 26.96, -44.78) |
| CIE-LCH | lch(24.21, 52.27, 301.05°) |
| OKLab | oklab(35.77% 0.0234 -0.1286) |
| OKLCH | oklch(35.77% 0.131 280.3) |
| XYZ | xyz(6.1069, 4.1637, 20.2165) |
| Luminance | 0.0416 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.09
Midnight Blue
#191970
ΔE00 6.06
Blueberry
#464196
ΔE00 6.32
Royal
#0C1793
ΔE00 7.44
Sapphire (survey)
#2138AB
ΔE00 7.50
Marine
#042E60
ΔE00 9.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#332E7E #797E2E
analogous
#2E517E #332E7E #5B2E7E
triadic
#332E7E #7E332E #2E7E33
tetradic
#332E7E #7E2E51 #797E2E #2E7E5B
square
#332E7E #7E2E51 #797E2E #2E7E5B
split-complementary
#332E7E #7E5B2E #517E2E
monochromatic
#0F0D24 #211E51 #332E7E #453EAB #6761C5
Accessibility & contrast
On white
11.46
#332E7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#332E7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #332E7E
11.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##332E7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##332E7E | 1.00 | 11.46 | 1.83 | 11.46 |
| #FFFFFF | 11.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#00367C
Tritanopia (blue-blind)
#074151
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #332e7e; /* rgb */ color: rgb(51, 46, 126); /* oklch */ color: oklch(35.8% 0.131 280.3);
Tailwind
colors: {
custom: {
50: '#7367a4',
500: '#332e7e',
950: '#000000',
},
}SCSS
$custom: #332e7e; $custom-light: #7367a4; $custom-dark: #000000;
JSON
{
"hex": "#332e7e",
"rgb": {
"r": 51,
"g": 46,
"b": 126
},
"hsl": {
"h": 243.75,
"s": 46.512,
"l": 33.725
},
"oklch": {
"l": 0.35772,
"c": 0.13075,
"h": 280.3
},
"luminance": 0.04164
}Semantic roles & 50–950 ramp
primary
#332E7E
secondary
#A7AC5C
accent
#D652CE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F