#332C8A#332C8A
#332C8A is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.150 H 279.3°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).
Color values
| HEX | #332C8A |
|---|---|
| RGB | rgb(51, 44, 138) |
| HSL | hsl(244, 52%, 36%) |
| HSV | hsv(244, 68%, 54%) |
| CMYK | cmyk(63%, 68.1%, 0%, 45.9%) |
| CIE-LAB | lab(24.76, 32.39, -51.39) |
| CIE-LCH | lch(24.76, 60.75, 302.22°) |
| OKLab | oklab(36.5% 0.0241 -0.1481) |
| OKLCH | oklch(36.5% 0.15 279.3) |
| XYZ | xyz(6.8519, 4.3396, 24.5164) |
| Luminance | 0.0434 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.55
Royal
#0C1793
ΔE00 5.85
Sapphire (survey)
#2138AB
ΔE00 6.10
Midnight Blue
#191970
ΔE00 6.22
Blueberry
#464196
ΔE00 6.23
Indigo Blue
#3A18B1
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#332C8A #838A2C
analogous
#2C548A #332C8A #622C8A
triadic
#332C8A #8A332C #2C8A33
tetradic
#332C8A #8A2C54 #838A2C #2C8A62
square
#332C8A #8A2C54 #838A2C #2C8A62
split-complementary
#332C8A #8A622C #548A2C
monochromatic
#110E2D #221D5C #332C8A #443BB8 #6B63CD
Accessibility & contrast
On white
11.24
#332C8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#332C8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #332C8A
11.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##332C8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##332C8A | 1.00 | 11.24 | 1.87 | 11.24 |
| #FFFFFF | 11.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E8D
Deuteranopia (green-blind)
#003788
Tritanopia (blue-blind)
#004457
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #332c8a; /* rgb */ color: rgb(51, 44, 138); /* oklch */ color: oklch(36.5% 0.150 279.3);
Tailwind
colors: {
custom: {
50: '#7566ad',
500: '#332c8a',
950: '#000000',
},
}SCSS
$custom: #332c8a; $custom-light: #7566ad; $custom-dark: #000000;
JSON
{
"hex": "#332c8a",
"rgb": {
"r": 51,
"g": 44,
"b": 138
},
"hsl": {
"h": 244.468,
"s": 51.648,
"l": 35.686
},
"oklch": {
"l": 0.36504,
"c": 0.15002,
"h": 279.3
},
"luminance": 0.0434
}Semantic roles & 50–950 ramp
primary
#332C8A
secondary
#ADB45E
accent
#DB4DD0
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090610
muted
#7B7A7F