#3D2F94#3D2F94
#3D2F94 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.7% C 0.158 H 282.4°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).
Color values
| HEX | #3D2F94 |
|---|---|
| RGB | rgb(61, 47, 148) |
| HSL | hsl(248, 52%, 38%) |
| HSV | hsv(248, 68%, 58%) |
| CMYK | cmyk(58.8%, 68.2%, 0%, 42%) |
| CIE-LAB | lab(27.19, 35.51, -53.57) |
| CIE-LCH | lch(27.19, 64.27, 303.54°) |
| OKLab | oklab(38.75% 0.034 -0.1541) |
| OKLCH | oklch(38.75% 0.158 282.4) |
| XYZ | xyz(8.2846, 5.1627, 28.5712) |
| Luminance | 0.0516 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.84
Blueberry
#464196
ΔE00 5.21
Sapphire (survey)
#2138AB
ΔE00 5.46
Indigo Blue
#3A18B1
ΔE00 6.15
Royal
#0C1793
ΔE00 6.75
Ocean Blue
#4F42B5
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D2F94 #86942F
analogous
#2F5394 #3D2F94 #6F2F94
triadic
#3D2F94 #943D2F #2F943D
tetradic
#3D2F94 #942F53 #86942F #2F946F
square
#3D2F94 #942F53 #86942F #2F946F
split-complementary
#3D2F94 #946F2F #53942F
monochromatic
#171137 #2A2066 #3D2F94 #513EC2 #7B6DD1
Accessibility & contrast
On white
10.33
#3D2F94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#3D2F94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D2F94
10.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D2F94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D2F94 | 1.00 | 10.33 | 2.03 | 10.33 |
| #FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#003D92
Tritanopia (blue-blind)
#0B495D
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #3d2f94; /* rgb */ color: rgb(61, 47, 148); /* oklch */ color: oklch(38.7% 0.158 282.4);
Tailwind
colors: {
custom: {
50: '#7c69b4',
500: '#3d2f94',
950: '#000000',
},
}SCSS
$custom: #3d2f94; $custom-light: #7c69b4; $custom-dark: #000000;
JSON
{
"hex": "#3d2f94",
"rgb": {
"r": 61,
"g": 47,
"b": 148
},
"hsl": {
"h": 248.317,
"s": 51.795,
"l": 38.235
},
"oklch": {
"l": 0.38749,
"c": 0.15786,
"h": 282.4
},
"luminance": 0.05163
}Semantic roles & 50–950 ramp
primary
#3D2F94
secondary
#ADB867
accent
#DB4DC7
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80