#332C8F#332C8F
#332C8F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.157 H 278.6°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).
Color values
| HEX | #332C8F |
|---|---|
| RGB | rgb(51, 44, 143) |
| HSL | hsl(244, 53%, 37%) |
| HSV | hsv(244, 69%, 56%) |
| CMYK | cmyk(64.3%, 69.2%, 0%, 43.9%) |
| CIE-LAB | lab(25.22, 34.09, -53.74) |
| CIE-LCH | lch(25.22, 63.65, 302.39°) |
| OKLab | oklab(36.98% 0.0235 -0.155) |
| OKLCH | oklch(36.98% 0.157 278.6) |
| XYZ | xyz(7.2223, 4.4878, 26.4669) |
| Luminance | 0.0449 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.55
Royal
#0C1793
ΔE00 5.59
Darkslateblue
#483D8B
ΔE00 5.74
Blueberry
#464196
ΔE00 6.18
Indigo Blue
#3A18B1
ΔE00 6.47
Midnight Blue
#191970
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#332C8F #888F2C
analogous
#2C578F #332C8F #652C8F
triadic
#332C8F #8F332C #2C8F33
tetradic
#332C8F #8F2C57 #888F2C #2C8F65
square
#332C8F #8F2C57 #888F2C #2C8F65
split-complementary
#332C8F #8F652C #578F2C
monochromatic
#120F31 #221E60 #332C8F #443ABE #6D66D0
Accessibility & contrast
On white
11.07
#332C8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#332C8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #332C8F
11.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##332C8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##332C8F | 1.00 | 11.07 | 1.90 | 11.07 |
| #FFFFFF | 11.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00388D
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #332c8f; /* rgb */ color: rgb(51, 44, 143); /* oklch */ color: oklch(37.0% 0.157 278.6);
Tailwind
colors: {
custom: {
50: '#7666b1',
500: '#332c8f',
950: '#000000',
},
}SCSS
$custom: #332c8f; $custom-light: #7666b1; $custom-dark: #000000;
JSON
{
"hex": "#332c8f",
"rgb": {
"r": 51,
"g": 44,
"b": 143
},
"hsl": {
"h": 244.242,
"s": 52.941,
"l": 36.667
},
"oklch": {
"l": 0.36976,
"c": 0.15674,
"h": 278.6
},
"luminance": 0.04488
}Semantic roles & 50–950 ramp
primary
#332C8F
secondary
#B0B661
accent
#DC4BD2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80