#332E92#332E92
#332E92 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.158 H 277.8°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).
Color values
| HEX | #332E92 |
|---|---|
| RGB | rgb(51, 46, 146) |
| HSL | hsl(243, 52%, 38%) |
| HSV | hsv(243, 68%, 57%) |
| CMYK | cmyk(65.1%, 68.5%, 0%, 42.7%) |
| CIE-LAB | lab(25.96, 33.88, -54.39) |
| CIE-LCH | lch(25.96, 64.08, 301.92°) |
| OKLab | oklab(37.59% 0.0215 -0.1569) |
| OKLCH | oklch(37.59% 0.158 277.8) |
| XYZ | xyz(7.5289, 4.7325, 27.7053) |
| Luminance | 0.0473 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.90
Darkslateblue
#483D8B
ΔE00 5.50
Blueberry
#464196
ΔE00 5.70
Royal
#0C1793
ΔE00 5.95
Indigo Blue
#3A18B1
ΔE00 6.49
Midnight Blue
#191970
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#332E92 #8D922E
analogous
#2E5B92 #332E92 #652E92
triadic
#332E92 #92332E #2E9233
tetradic
#332E92 #922E5B #8D922E #2E9265
square
#332E92 #922E5B #8D922E #2E9265
split-complementary
#332E92 #92652E #5B922E
monochromatic
#121135 #231F63 #332E92 #433DC1 #6F6AD0
Accessibility & contrast
On white
10.79
#332E92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#332E92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #332E92
10.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##332E92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##332E92 | 1.00 | 10.79 | 1.95 | 10.79 |
| #FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004295
Deuteranopia (green-blind)
#003990
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #332e92; /* rgb */ color: rgb(51, 46, 146); /* oklch */ color: oklch(37.6% 0.158 277.8);
Tailwind
colors: {
custom: {
50: '#7767b3',
500: '#332e92',
950: '#000000',
},
}SCSS
$custom: #332e92; $custom-light: #7767b3; $custom-dark: #000000;
JSON
{
"hex": "#332e92",
"rgb": {
"r": 51,
"g": 46,
"b": 146
},
"hsl": {
"h": 243,
"s": 52.083,
"l": 37.647
},
"oklch": {
"l": 0.37593,
"c": 0.15833,
"h": 277.8
},
"luminance": 0.04733
}Semantic roles & 50–950 ramp
primary
#332E92
secondary
#B3B765
accent
#DC4CD4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80