#3B2FA1#3B2FA1
#3B2FA1 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.8% C 0.175 H 279.6°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).
Color values
| HEX | #3B2FA1 |
|---|---|
| RGB | rgb(59, 47, 161) |
| HSL | hsl(246, 55%, 41%) |
| HSV | hsv(246, 71%, 63%) |
| CMYK | cmyk(63.4%, 70.8%, 0%, 36.9%) |
| CIE-LAB | lab(28.21, 39.44, -59.85) |
| CIE-LCH | lch(28.21, 71.68, 303.39°) |
| OKLab | oklab(39.8% 0.0292 -0.1726) |
| OKLCH | oklch(39.8% 0.175 279.6) |
| XYZ | xyz(9.2511, 5.5353, 34.2922) |
| Luminance | 0.0554 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.33
Indigo Blue
#3A18B1
ΔE00 4.94
Blueberry
#464196
ΔE00 5.70
Ocean Blue
#4F42B5
ΔE00 6.04
Darkslateblue
#483D8B
ΔE00 6.05
Royal
#0C1793
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B2FA1 #95A12F
analogous
#2F5CA1 #3B2FA1 #742FA1
triadic
#3B2FA1 #A13B2F #2FA13B
tetradic
#3B2FA1 #A12F5C #95A12F #2FA174
square
#3B2FA1 #A12F5C #95A12F #2FA174
split-complementary
#3B2FA1 #A1742F #5CA12F
monochromatic
#181342 #2A2172 #3B2FA1 #5345C9 #7E74D6
Accessibility & contrast
On white
9.97
#3B2FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#3B2FA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3B2FA1
9.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B2FA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B2FA1 | 1.00 | 9.97 | 2.11 | 9.97 |
| #FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A4
Deuteranopia (green-blind)
#003E9F
Tritanopia (blue-blind)
#004E64
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #3b2fa1; /* rgb */ color: rgb(59, 47, 161); /* oklch */ color: oklch(39.8% 0.175 279.6);
Tailwind
colors: {
custom: {
50: '#7e69be',
500: '#3b2fa1',
950: '#000000',
},
}SCSS
$custom: #3b2fa1; $custom-light: #7e69be; $custom-dark: #000000;
JSON
{
"hex": "#3b2fa1",
"rgb": {
"r": 59,
"g": 47,
"b": 161
},
"hsl": {
"h": 246.316,
"s": 54.808,
"l": 40.784
},
"oklch": {
"l": 0.398,
"c": 0.17507,
"h": 279.6
},
"luminance": 0.05536
}Semantic roles & 50–950 ramp
primary
#3B2FA1
secondary
#B6BE6E
accent
#DE4ACF
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81