#3B2E97#3B2E97
#3B2E97 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.7% C 0.163 H 281.2°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).
Color values
| HEX | #3B2E97 |
|---|---|
| RGB | rgb(59, 46, 151) |
| HSL | hsl(247, 53%, 39%) |
| HSV | hsv(247, 70%, 59%) |
| CMYK | cmyk(60.9%, 69.5%, 0%, 40.8%) |
| CIE-LAB | lab(27.07, 36.77, -55.63) |
| CIE-LCH | lch(27.07, 66.68, 303.47°) |
| OKLab | oklab(38.7% 0.0317 -0.1602) |
| OKLCH | oklch(38.7% 0.163 281.2) |
| XYZ | xyz(8.3648, 5.1176, 29.8192) |
| Luminance | 0.0512 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.14
Darkslateblue
#483D8B
ΔE00 5.37
Blueberry
#464196
ΔE00 5.55
Indigo Blue
#3A18B1
ΔE00 5.64
Royal
#0C1793
ΔE00 6.36
Ocean Blue
#4F42B5
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B2E97 #8A972E
analogous
#2E5597 #3B2E97 #6F2E97
triadic
#3B2E97 #973B2E #2E973B
tetradic
#3B2E97 #972E55 #8A972E #2E976F
square
#3B2E97 #972E55 #8A972E #2E976F
split-complementary
#3B2E97 #976F2E #55972E
monochromatic
#161139 #292068 #3B2E97 #4F3EC4 #796DD2
Accessibility & contrast
On white
10.38
#3B2E97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#3B2E97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3B2E97
10.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B2E97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B2E97 | 1.00 | 10.38 | 2.02 | 10.38 |
| #FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#003C95
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #3b2e97; /* rgb */ color: rgb(59, 46, 151); /* oklch */ color: oklch(38.7% 0.163 281.2);
Tailwind
colors: {
custom: {
50: '#7c68b7',
500: '#3b2e97',
950: '#000000',
},
}SCSS
$custom: #3b2e97; $custom-light: #7c68b7; $custom-dark: #000000;
JSON
{
"hex": "#3b2e97",
"rgb": {
"r": 59,
"g": 46,
"b": 151
},
"hsl": {
"h": 247.429,
"s": 53.299,
"l": 38.627
},
"oklch": {
"l": 0.38698,
"c": 0.16334,
"h": 281.2
},
"luminance": 0.05118
}Semantic roles & 50–950 ramp
primary
#3B2E97
secondary
#AFBA67
accent
#DD4BCB
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80