#332B95#332B95
#332B95 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.4% C 0.166 H 278.1°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).
Color values
| HEX | #332B95 |
|---|---|
| RGB | rgb(51, 43, 149) |
| HSL | hsl(245, 55%, 38%) |
| HSV | hsv(245, 71%, 58%) |
| CMYK | cmyk(65.8%, 71.1%, 0%, 41.6%) |
| CIE-LAB | lab(25.57, 36.74, -56.88) |
| CIE-LCH | lch(25.57, 67.72, 302.85°) |
| OKLab | oklab(37.4% 0.0233 -0.1642) |
| OKLCH | oklch(37.4% 0.166 278.1) |
| XYZ | xyz(7.6522, 4.6009, 28.9127) |
| Luminance | 0.0460 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.17
Royal
#0C1793
ΔE00 5.23
Indigo Blue
#3A18B1
ΔE00 5.53
Darkslateblue
#483D8B
ΔE00 6.26
Blueberry
#464196
ΔE00 6.45
Cobalt Blue
#030AA7
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#332B95 #8D952B
analogous
#2B5895 #332B95 #682B95
triadic
#332B95 #95332B #2B9533
tetradic
#332B95 #952B58 #8D952B #2B9568
square
#332B95 #952B58 #8D952B #2B9568
split-complementary
#332B95 #95682B #58952B
monochromatic
#121036 #231D66 #332B95 #4339C4 #6F67D3
Accessibility & contrast
On white
10.94
#332B95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#332B95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #332B95
10.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##332B95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##332B95 | 1.00 | 10.94 | 1.92 | 10.94 |
| #FFFFFF | 10.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004198
Deuteranopia (green-blind)
#003893
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #332b95; /* rgb */ color: rgb(51, 43, 149); /* oklch */ color: oklch(37.4% 0.166 278.1);
Tailwind
colors: {
custom: {
50: '#7865b5',
500: '#332b95',
950: '#000000',
},
}SCSS
$custom: #332b95; $custom-light: #7865b5; $custom-dark: #000000;
JSON
{
"hex": "#332b95",
"rgb": {
"r": 51,
"g": 43,
"b": 149
},
"hsl": {
"h": 244.528,
"s": 55.208,
"l": 37.647
},
"oklch": {
"l": 0.37396,
"c": 0.16581,
"h": 278.1
},
"luminance": 0.04601
}Semantic roles & 50–950 ramp
primary
#332B95
secondary
#B3BA62
accent
#DF49D3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80