#332D8F#332D8F
#332D8F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.1% C 0.156 H 278.4°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).
Color values
| HEX | #332D8F |
|---|---|
| RGB | rgb(51, 45, 143) |
| HSL | hsl(244, 52%, 37%) |
| HSV | hsv(244, 69%, 56%) |
| CMYK | cmyk(64.3%, 68.5%, 0%, 43.9%) |
| CIE-LAB | lab(25.45, 33.47, -53.37) |
| CIE-LCH | lch(25.45, 63.00, 302.10°) |
| OKLab | oklab(37.14% 0.0227 -0.1539) |
| OKLCH | oklch(37.14% 0.156 278.4) |
| XYZ | xyz(7.2600, 4.5632, 26.4795) |
| Luminance | 0.0456 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.38
Darkslateblue
#483D8B
ΔE00 5.54
Royal
#0C1793
ΔE00 5.82
Blueberry
#464196
ΔE00 5.94
Indigo Blue
#3A18B1
ΔE00 6.66
Midnight Blue
#191970
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#332D8F #898F2D
analogous
#2D588F #332D8F #642D8F
triadic
#332D8F #8F332D #2D8F33
tetradic
#332D8F #8F2D58 #898F2D #2D8F64
square
#332D8F #8F2D58 #898F2D #2D8F64
split-complementary
#332D8F #8F642D #588F2D
monochromatic
#121032 #221E60 #332D8F #443CBE #6E67CF
Accessibility & contrast
On white
10.98
#332D8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#332D8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #332D8F
10.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##332D8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##332D8F | 1.00 | 10.98 | 1.91 | 10.98 |
| #FFFFFF | 10.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00388D
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #332d8f; /* rgb */ color: rgb(51, 45, 143); /* oklch */ color: oklch(37.1% 0.156 278.4);
Tailwind
colors: {
custom: {
50: '#7667b1',
500: '#332d8f',
950: '#000000',
},
}SCSS
$custom: #332d8f; $custom-light: #7667b1; $custom-dark: #000000;
JSON
{
"hex": "#332d8f",
"rgb": {
"r": 51,
"g": 45,
"b": 143
},
"hsl": {
"h": 243.673,
"s": 52.128,
"l": 36.863
},
"oklch": {
"l": 0.37142,
"c": 0.15553,
"h": 278.4
},
"luminance": 0.04564
}Semantic roles & 50–950 ramp
primary
#332D8F
secondary
#B1B662
accent
#DC4CD3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80