#332F71#332F71
#332F71 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.9% C 0.110 H 281.8°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).
Color values
| HEX | #332F71 |
|---|---|
| RGB | rgb(51, 47, 113) |
| HSL | hsl(244, 41%, 31%) |
| HSV | hsv(244, 58%, 44%) |
| CMYK | cmyk(54.9%, 58.4%, 0%, 55.7%) |
| CIE-LAB | lab(23.43, 21.78, -37.76) |
| CIE-LCH | lch(23.43, 43.59, 299.98°) |
| OKLab | oklab(34.88% 0.0225 -0.108) |
| OKLCH | oklch(34.88% 0.11 281.8) |
| XYZ | xyz(5.3615, 3.9288, 16.0954) |
| Luminance | 0.0393 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.83
Midnight Blue
#191970
ΔE00 6.80
Blueberry
#464196
ΔE00 7.47
Marine
#042E60
ΔE00 8.15
Navy Blue
#1B2A4A
ΔE00 8.78
Royal
#0C1793
ΔE00 9.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#332F71 #6D712F
analogous
#2F4C71 #332F71 #542F71
triadic
#332F71 #71332F #2F7133
tetradic
#332F71 #712F4C #6D712F #2F7154
square
#332F71 #712F4C #6D712F #2F7154
split-complementary
#332F71 #71542F #4C712F
monochromatic
#0C0B1B #1F1D46 #332F71 #47419C #645EBC
Accessibility & contrast
On white
11.76
#332F71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#332F71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #332F71
11.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##332F71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##332F71 | 1.00 | 11.76 | 1.79 | 11.76 |
| #FFFFFF | 11.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#043A73
Deuteranopia (green-blind)
#003570
Tritanopia (blue-blind)
#193E4B
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #332f71; /* rgb */ color: rgb(51, 47, 113); /* oklch */ color: oklch(34.9% 0.110 281.8);
Tailwind
colors: {
custom: {
50: '#70679a',
500: '#332f71',
950: '#000000',
},
}SCSS
$custom: #332f71; $custom-light: #70679a; $custom-dark: #000000;
JSON
{
"hex": "#332f71",
"rgb": {
"r": 51,
"g": 47,
"b": 113
},
"hsl": {
"h": 243.636,
"s": 41.25,
"l": 31.373
},
"oklch": {
"l": 0.34878,
"c": 0.1103,
"h": 281.8
},
"luminance": 0.03929
}Semantic roles & 50–950 ramp
primary
#332F71
secondary
#9EA25A
accent
#D157CA
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060E
muted
#7B7A7E