#332F97#332F97
#332F97 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.2% C 0.164 H 277.0°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).
Color values
| HEX | #332F97 |
|---|---|
| RGB | rgb(51, 47, 151) |
| HSL | hsl(242, 53%, 39%) |
| HSV | hsv(242, 69%, 59%) |
| CMYK | cmyk(66.2%, 68.9%, 0%, 40.8%) |
| CIE-LAB | lab(26.65, 34.97, -56.33) |
| CIE-LCH | lch(26.65, 66.31, 301.83°) |
| OKLab | oklab(38.24% 0.02 -0.1625) |
| OKLCH | oklch(38.24% 0.164 277) |
| XYZ | xyz(7.9659, 4.9705, 29.8118) |
| Luminance | 0.0497 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.25
Blueberry
#464196
ΔE00 5.55
Darkslateblue
#483D8B
ΔE00 5.63
Royal
#0C1793
ΔE00 6.11
Indigo Blue
#3A18B1
ΔE00 6.14
Ocean Blue
#4F42B5
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#332F97 #93972F
analogous
#2F5F97 #332F97 #672F97
triadic
#332F97 #97332F #2F9733
tetradic
#332F97 #972F5F #93972F #2F9767
square
#332F97 #972F5F #93972F #2F9767
split-complementary
#332F97 #97672F #5F972F
monochromatic
#13123A #232068 #332F97 #4540C3 #726ED2
Accessibility & contrast
On white
10.53
#332F97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#332F97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #332F97
10.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##332F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##332F97 | 1.00 | 10.53 | 1.99 | 10.53 |
| #FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#003B95
Tritanopia (blue-blind)
#004B5F
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #332f97; /* rgb */ color: rgb(51, 47, 151); /* oklch */ color: oklch(38.2% 0.164 277.0);
Tailwind
colors: {
custom: {
50: '#7868b7',
500: '#332f97',
950: '#000000',
},
}SCSS
$custom: #332f97; $custom-light: #7868b7; $custom-dark: #000000;
JSON
{
"hex": "#332f97",
"rgb": {
"r": 51,
"g": 47,
"b": 151
},
"hsl": {
"h": 242.308,
"s": 52.525,
"l": 38.824
},
"oklch": {
"l": 0.38235,
"c": 0.16378,
"h": 277
},
"luminance": 0.04971
}Semantic roles & 50–950 ramp
primary
#332F97
secondary
#B6B968
accent
#DC4CD6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80