#332C9C#332C9C
#332C9C is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.2% C 0.174 H 277.1°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).
Color values
| HEX | #332C9C |
|---|---|
| RGB | rgb(51, 44, 156) |
| HSL | hsl(244, 56%, 39%) |
| HSV | hsv(244, 72%, 61%) |
| CMYK | cmyk(67.3%, 71.8%, 0%, 38.8%) |
| CIE-LAB | lab(26.46, 38.49, -59.70) |
| CIE-LCH | lch(26.46, 71.03, 302.81°) |
| OKLab | oklab(38.24% 0.0214 -0.1724) |
| OKLCH | oklch(38.24% 0.174 277.1) |
| XYZ | xyz(8.2647, 4.9048, 31.9572) |
| Luminance | 0.0491 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.48
Indigo Blue
#3A18B1
ΔE00 4.98
Royal
#0C1793
ΔE00 5.50
Blueberry
#464196
ΔE00 6.38
Darkslateblue
#483D8B
ΔE00 6.53
Cobalt Blue
#030AA7
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#332C9C #959C2C
analogous
#2C5D9C #332C9C #6B2C9C
triadic
#332C9C #9C332C #2C9C33
tetradic
#332C9C #9C2C5D #959C2C #2C9C6B
square
#332C9C #9C2C5D #959C2C #2C9C6B
split-complementary
#332C9C #9C6B2C #5D9C2C
monochromatic
#14113D #231F6C #332C9C #463DC8 #736DD6
Accessibility & contrast
On white
10.60
#332C9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#332C9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #332C9C
10.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##332C9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##332C9C | 1.00 | 10.60 | 1.98 | 10.60 |
| #FFFFFF | 10.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439F
Deuteranopia (green-blind)
#003A9A
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #332c9c; /* rgb */ color: rgb(51, 44, 156); /* oklch */ color: oklch(38.2% 0.174 277.1);
Tailwind
colors: {
custom: {
50: '#7966ba',
500: '#332c9c',
950: '#000000',
},
}SCSS
$custom: #332c9c; $custom-light: #7966ba; $custom-dark: #000000;
JSON
{
"hex": "#332c9c",
"rgb": {
"r": 51,
"g": 44,
"b": 156
},
"hsl": {
"h": 243.75,
"s": 56,
"l": 39.216
},
"oklch": {
"l": 0.38244,
"c": 0.17372,
"h": 277.1
},
"luminance": 0.04905
}Semantic roles & 50–950 ramp
primary
#332C9C
secondary
#B7BD67
accent
#DF49D6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81