#332F95#332F95
#332F95 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.161 H 277.2°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).
Color values
| HEX | #332F95 |
|---|---|
| RGB | rgb(51, 47, 149) |
| HSL | hsl(242, 52%, 38%) |
| HSV | hsv(242, 68%, 58%) |
| CMYK | cmyk(65.8%, 68.5%, 0%, 41.6%) |
| CIE-LAB | lab(26.47, 34.28, -55.41) |
| CIE-LCH | lch(26.47, 65.16, 301.75°) |
| OKLab | oklab(38.04% 0.0203 -0.1598) |
| OKLCH | oklch(38.04% 0.161 277.2) |
| XYZ | xyz(7.8048, 4.9061, 28.9636) |
| Luminance | 0.0491 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.44
Darkslateblue
#483D8B
ΔE00 5.50
Blueberry
#464196
ΔE00 5.50
Royal
#0C1793
ΔE00 6.13
Indigo Blue
#3A18B1
ΔE00 6.36
Ocean Blue
#4F42B5
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#332F95 #91952F
analogous
#2F5E95 #332F95 #662F95
triadic
#332F95 #95332F #2F9533
tetradic
#332F95 #952F5E #91952F #2F9566
square
#332F95 #952F5E #91952F #2F9566
split-complementary
#332F95 #95662F #5E952F
monochromatic
#131238 #232066 #332F95 #443FC2 #716DD1
Accessibility & contrast
On white
10.60
#332F95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#332F95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #332F95
10.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##332F95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##332F95 | 1.00 | 10.60 | 1.98 | 10.60 |
| #FFFFFF | 10.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#003A93
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #332f95; /* rgb */ color: rgb(51, 47, 149); /* oklch */ color: oklch(38.0% 0.161 277.2);
Tailwind
colors: {
custom: {
50: '#7768b5',
500: '#332f95',
950: '#000000',
},
}SCSS
$custom: #332f95; $custom-light: #7768b5; $custom-dark: #000000;
JSON
{
"hex": "#332f95",
"rgb": {
"r": 51,
"g": 47,
"b": 149
},
"hsl": {
"h": 242.353,
"s": 52.041,
"l": 38.431
},
"oklch": {
"l": 0.38044,
"c": 0.16112,
"h": 277.2
},
"luminance": 0.04907
}Semantic roles & 50–950 ramp
primary
#332F95
secondary
#B5B867
accent
#DB4CD6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80