#332C8E#332C8E
#332C8E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.9% C 0.155 H 278.7°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).
Color values
| HEX | #332C8E |
|---|---|
| RGB | rgb(51, 44, 142) |
| HSL | hsl(244, 53%, 36%) |
| HSV | hsv(244, 69%, 56%) |
| CMYK | cmyk(64.1%, 69%, 0%, 44.3%) |
| CIE-LAB | lab(25.13, 33.75, -53.28) |
| CIE-LCH | lch(25.13, 63.07, 302.36°) |
| OKLab | oklab(36.88% 0.0236 -0.1536) |
| OKLCH | oklch(36.88% 0.155 278.7) |
| XYZ | xyz(7.1468, 4.4576, 26.0697) |
| Luminance | 0.0446 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 5.63
Sapphire (survey)
#2138AB
ΔE00 5.65
Darkslateblue
#483D8B
ΔE00 5.70
Blueberry
#464196
ΔE00 6.18
Midnight Blue
#191970
ΔE00 6.56
Indigo Blue
#3A18B1
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#332C8E #878E2C
analogous
#2C568E #332C8E #642C8E
triadic
#332C8E #8E332C #2C8E33
tetradic
#332C8E #8E2C56 #878E2C #2C8E64
square
#332C8E #8E2C56 #878E2C #2C8E64
split-complementary
#332C8E #8E642C #568E2C
monochromatic
#110F31 #221E5F #332C8E #443ABD #6D65CF
Accessibility & contrast
On white
11.10
#332C8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#332C8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #332C8E
11.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##332C8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##332C8E | 1.00 | 11.10 | 1.89 | 11.10 |
| #FFFFFF | 11.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#00388C
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #332c8e; /* rgb */ color: rgb(51, 44, 142); /* oklch */ color: oklch(36.9% 0.155 278.7);
Tailwind
colors: {
custom: {
50: '#7666b0',
500: '#332c8e',
950: '#000000',
},
}SCSS
$custom: #332c8e; $custom-light: #7666b0; $custom-dark: #000000;
JSON
{
"hex": "#332c8e",
"rgb": {
"r": 51,
"g": 44,
"b": 142
},
"hsl": {
"h": 244.286,
"s": 52.688,
"l": 36.471
},
"oklch": {
"l": 0.36881,
"c": 0.1554,
"h": 278.7
},
"luminance": 0.04458
}Semantic roles & 50–950 ramp
primary
#332C8E
secondary
#B0B660
accent
#DC4CD2
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#090611
muted
#7B7A80