#332F76#332F76
#332F76 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 35.3% C 0.118 H 281.0°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).
Color values
| HEX | #332F76 |
|---|---|
| RGB | rgb(51, 47, 118) |
| HSL | hsl(243, 43%, 32%) |
| HSV | hsv(243, 60%, 46%) |
| CMYK | cmyk(56.8%, 60.2%, 0%, 53.7%) |
| CIE-LAB | lab(23.82, 23.52, -40.33) |
| CIE-LCH | lch(23.82, 46.69, 300.24°) |
| OKLab | oklab(35.28% 0.0225 -0.1156) |
| OKLCH | oklch(35.28% 0.118 281) |
| XYZ | xyz(5.6508, 4.0445, 17.6189) |
| Luminance | 0.0404 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.36
Midnight Blue
#191970
ΔE00 6.47
Blueberry
#464196
ΔE00 6.87
Marine
#042E60
ΔE00 8.37
Sapphire (survey)
#2138AB
ΔE00 8.74
Royal
#0C1793
ΔE00 8.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#332F76 #72762F
analogous
#2F4F76 #332F76 #562F76
triadic
#332F76 #76332F #2F7633
tetradic
#332F76 #762F4F #72762F #2F7656
square
#332F76 #762F4F #72762F #2F7656
split-complementary
#332F76 #76562F #4F762F
monochromatic
#0D0C1E #201E4A #332F76 #4640A2 #6560C0
Accessibility & contrast
On white
11.61
#332F76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#332F76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #332F76
11.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##332F76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##332F76 | 1.00 | 11.61 | 1.81 | 11.61 |
| #FFFFFF | 11.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B78
Deuteranopia (green-blind)
#003675
Tritanopia (blue-blind)
#14404D
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #332f76; /* rgb */ color: rgb(51, 47, 118); /* oklch */ color: oklch(35.3% 0.118 281.0);
Tailwind
colors: {
custom: {
50: '#71679e',
500: '#332f76',
950: '#000000',
},
}SCSS
$custom: #332f76; $custom-light: #71679e; $custom-dark: #000000;
JSON
{
"hex": "#332f76",
"rgb": {
"r": 51,
"g": 47,
"b": 118
},
"hsl": {
"h": 243.38,
"s": 43.03,
"l": 32.353
},
"oklch": {
"l": 0.35284,
"c": 0.11774,
"h": 281
},
"luminance": 0.04045
}Semantic roles & 50–950 ramp
primary
#332F76
secondary
#A2A75A
accent
#D355CC
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060E
muted
#7B7A7E