#332C9E#332C9E
#332C9E is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.4% C 0.176 H 276.9°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).
Color values
| HEX | #332C9E |
|---|---|
| RGB | rgb(51, 44, 158) |
| HSL | hsl(244, 56%, 40%) |
| HSV | hsv(244, 72%, 62%) |
| CMYK | cmyk(67.7%, 72.2%, 0%, 38%) |
| CIE-LAB | lab(26.66, 39.16, -60.60) |
| CIE-LCH | lch(26.66, 72.15, 302.87°) |
| OKLab | oklab(38.44% 0.0211 -0.175) |
| OKLCH | oklch(38.44% 0.176 276.9) |
| XYZ | xyz(8.4355, 4.9731, 32.8565) |
| Luminance | 0.0497 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.37
Indigo Blue
#3A18B1
ΔE00 4.79
Royal
#0C1793
ΔE00 5.56
Blueberry
#464196
ΔE00 6.45
Cobalt Blue
#030AA7
ΔE00 6.61
Darkslateblue
#483D8B
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#332C9E #979E2C
analogous
#2C5E9E #332C9E #6C2C9E
triadic
#332C9E #9E332C #2C9E33
tetradic
#332C9E #9E2C5E #979E2C #2C9E6C
square
#332C9E #9E2C5E #979E2C #2C9E6C
split-complementary
#332C9E #9E6C2C #5E9E2C
monochromatic
#14113E #241F6E #332C9E #473EC9 #746ED7
Accessibility & contrast
On white
10.53
#332C9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#332C9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #332C9E
10.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##332C9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##332C9E | 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)
#0044A1
Deuteranopia (green-blind)
#003A9C
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #332c9e; /* rgb */ color: rgb(51, 44, 158); /* oklch */ color: oklch(38.4% 0.176 276.9);
Tailwind
colors: {
custom: {
50: '#7a66bc',
500: '#332c9e',
950: '#000000',
},
}SCSS
$custom: #332c9e; $custom-light: #7a66bc; $custom-dark: #000000;
JSON
{
"hex": "#332c9e",
"rgb": {
"r": 51,
"g": 44,
"b": 158
},
"hsl": {
"h": 243.684,
"s": 56.436,
"l": 39.608
},
"oklch": {
"l": 0.38444,
"c": 0.17628,
"h": 276.9
},
"luminance": 0.04974
}Semantic roles & 50–950 ramp
primary
#332C9E
secondary
#B8BE68
accent
#E048D6
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0612
muted
#7C7A81