#332E90#332E90
#332E90 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.4% C 0.156 H 278.0°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).
Color values
| HEX | #332E90 |
|---|---|
| RGB | rgb(51, 46, 144) |
| HSL | hsl(243, 52%, 37%) |
| HSV | hsv(243, 68%, 56%) |
| CMYK | cmyk(64.6%, 68.1%, 0%, 43.5%) |
| CIE-LAB | lab(25.78, 33.19, -53.46) |
| CIE-LCH | lch(25.78, 62.92, 301.84°) |
| OKLab | oklab(37.4% 0.0217 -0.1541) |
| OKLCH | oklch(37.4% 0.156 278) |
| XYZ | xyz(7.3747, 4.6708, 26.8931) |
| Luminance | 0.0467 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.12
Darkslateblue
#483D8B
ΔE00 5.39
Blueberry
#464196
ΔE00 5.70
Royal
#0C1793
ΔE00 6.02
Indigo Blue
#3A18B1
ΔE00 6.73
Midnight Blue
#191970
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#332E90 #8B902E
analogous
#2E5A90 #332E90 #642E90
triadic
#332E90 #90332E #2E9033
tetradic
#332E90 #902E5A #8B902E #2E9064
square
#332E90 #902E5A #8B902E #2E9064
split-complementary
#332E90 #90642E #5A902E
monochromatic
#121033 #231F62 #332E90 #433DBE #6E69CF
Accessibility & contrast
On white
10.86
#332E90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#332E90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #332E90
10.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##332E90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##332E90 | 1.00 | 10.86 | 1.93 | 10.86 |
| #FFFFFF | 10.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004193
Deuteranopia (green-blind)
#00398E
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #332e90; /* rgb */ color: rgb(51, 46, 144); /* oklch */ color: oklch(37.4% 0.156 278.0);
Tailwind
colors: {
custom: {
50: '#7667b1',
500: '#332e90',
950: '#000000',
},
}SCSS
$custom: #332e90; $custom-light: #7667b1; $custom-dark: #000000;
JSON
{
"hex": "#332e90",
"rgb": {
"r": 51,
"g": 46,
"b": 144
},
"hsl": {
"h": 243.061,
"s": 51.579,
"l": 37.255
},
"oklch": {
"l": 0.37404,
"c": 0.15565,
"h": 278
},
"luminance": 0.04671
}Semantic roles & 50–950 ramp
primary
#332E90
secondary
#B2B664
accent
#DB4DD4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80