#332C92#332C92
#332C92 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.3% C 0.161 H 278.2°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).
Color values
| HEX | #332C92 |
|---|---|
| RGB | rgb(51, 44, 146) |
| HSL | hsl(244, 54%, 37%) |
| HSV | hsv(244, 70%, 57%) |
| CMYK | cmyk(65.1%, 69.9%, 0%, 42.7%) |
| CIE-LAB | lab(25.50, 35.12, -55.14) |
| CIE-LCH | lch(25.50, 65.37, 302.49°) |
| OKLab | oklab(37.26% 0.023 -0.1591) |
| OKLCH | oklch(37.26% 0.161 278.2) |
| XYZ | xyz(7.4526, 4.5799, 27.6798) |
| Luminance | 0.0458 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.25
Royal
#0C1793
ΔE00 5.49
Darkslateblue
#483D8B
ΔE00 5.89
Indigo Blue
#3A18B1
ΔE00 6.09
Blueberry
#464196
ΔE00 6.18
Midnight Blue
#191970
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#332C92 #8B922C
analogous
#2C5892 #332C92 #662C92
triadic
#332C92 #92332C #2C9233
tetradic
#332C92 #922C58 #8B922C #2C9266
square
#332C92 #922C58 #8B922C #2C9266
split-complementary
#332C92 #92662C #58922C
monochromatic
#121034 #231E63 #332C92 #433AC1 #6E67D1
Accessibility & contrast
On white
10.96
#332C92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#332C92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #332C92
10.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##332C92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##332C92 | 1.00 | 10.96 | 1.92 | 10.96 |
| #FFFFFF | 10.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004195
Deuteranopia (green-blind)
#003890
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #332c92; /* rgb */ color: rgb(51, 44, 146); /* oklch */ color: oklch(37.3% 0.161 278.2);
Tailwind
colors: {
custom: {
50: '#7766b3',
500: '#332c92',
950: '#000000',
},
}SCSS
$custom: #332c92; $custom-light: #7766b3; $custom-dark: #000000;
JSON
{
"hex": "#332c92",
"rgb": {
"r": 51,
"g": 44,
"b": 146
},
"hsl": {
"h": 244.118,
"s": 53.684,
"l": 37.255
},
"oklch": {
"l": 0.37264,
"c": 0.16072,
"h": 278.2
},
"luminance": 0.0458
}Semantic roles & 50–950 ramp
primary
#332C92
secondary
#B2B862
accent
#DD4BD3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80