#332E99#332E99
#332E99 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.3% C 0.168 H 277.0°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).
Color values
| HEX | #332E99 |
|---|---|
| RGB | rgb(51, 46, 153) |
| HSL | hsl(243, 54%, 39%) |
| HSV | hsv(243, 70%, 60%) |
| CMYK | cmyk(66.7%, 69.9%, 0%, 40%) |
| CIE-LAB | lab(26.61, 36.27, -57.62) |
| CIE-LCH | lch(26.61, 68.09, 302.19°) |
| OKLab | oklab(38.26% 0.0205 -0.1663) |
| OKLCH | oklch(38.26% 0.168 277) |
| XYZ | xyz(8.0901, 4.9570, 30.6613) |
| Luminance | 0.0496 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.28
Indigo Blue
#3A18B1
ΔE00 5.71
Blueberry
#464196
ΔE00 5.83
Royal
#0C1793
ΔE00 5.88
Darkslateblue
#483D8B
ΔE00 5.95
Ocean Blue
#4F42B5
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#332E99 #94992E
analogous
#2E5F99 #332E99 #692E99
triadic
#332E99 #99332E #2E9933
tetradic
#332E99 #992E5F #94992E #2E9969
square
#332E99 #992E5F #94992E #2E9969
split-complementary
#332E99 #99692E #5F992E
monochromatic
#14123B #23206A #332E99 #453FC5 #736ED3
Accessibility & contrast
On white
10.54
#332E99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#332E99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #332E99
10.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##332E99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##332E99 | 1.00 | 10.54 | 1.99 | 10.54 |
| #FFFFFF | 10.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#003A97
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #332e99; /* rgb */ color: rgb(51, 46, 153); /* oklch */ color: oklch(38.3% 0.168 277.0);
Tailwind
colors: {
custom: {
50: '#7868b8',
500: '#332e99',
950: '#000000',
},
}SCSS
$custom: #332e99; $custom-light: #7868b8; $custom-dark: #000000;
JSON
{
"hex": "#332e99",
"rgb": {
"r": 51,
"g": 46,
"b": 153
},
"hsl": {
"h": 242.804,
"s": 53.769,
"l": 39.02
},
"oklch": {
"l": 0.38264,
"c": 0.16757,
"h": 277
},
"luminance": 0.04958
}Semantic roles & 50–950 ramp
primary
#332E99
secondary
#B7BB68
accent
#DD4BD6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80