#3D2D9E#3D2D9E
#3D2D9E is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.4% C 0.173 H 281.3°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).
Color values
| HEX | #3D2D9E |
|---|---|
| RGB | rgb(61, 45, 158) |
| HSL | hsl(248, 56%, 40%) |
| HSV | hsv(248, 72%, 62%) |
| CMYK | cmyk(61.4%, 71.5%, 0%, 38%) |
| CIE-LAB | lab(27.67, 39.92, -58.90) |
| CIE-LCH | lch(27.67, 71.16, 304.13°) |
| OKLab | oklab(39.37% 0.0341 -0.1698) |
| OKLCH | oklch(39.37% 0.173 281.3) |
| XYZ | xyz(9.0325, 5.3369, 32.8953) |
| Luminance | 0.0534 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.70
Sapphire (survey)
#2138AB
ΔE00 5.05
Blueberry
#464196
ΔE00 6.00
Darkslateblue
#483D8B
ΔE00 6.07
Royal
#0C1793
ΔE00 6.41
Ocean Blue
#4F42B5
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D2D9E #8E9E2D
analogous
#2D559E #3D2D9E #762D9E
triadic
#3D2D9E #9E3D2D #2D9E3D
tetradic
#3D2D9E #9E2D55 #8E9E2D #2D9E76
square
#3D2D9E #9E2D55 #8E9E2D #2D9E76
split-complementary
#3D2D9E #9E762D #559E2D
monochromatic
#18123F #2B1F6E #3D2D9E #5340C9 #7E6FD6
Accessibility & contrast
On white
10.16
#3D2D9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#3D2D9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D2D9E
10.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D2D9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D2D9E | 1.00 | 10.16 | 2.07 | 10.16 |
| #FFFFFF | 10.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#003D9C
Tritanopia (blue-blind)
#004B62
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #3d2d9e; /* rgb */ color: rgb(61, 45, 158); /* oklch */ color: oklch(39.4% 0.173 281.3);
Tailwind
colors: {
custom: {
50: '#7e68bc',
500: '#3d2d9e',
950: '#000000',
},
}SCSS
$custom: #3d2d9e; $custom-light: #7e68bc; $custom-dark: #000000;
JSON
{
"hex": "#3d2d9e",
"rgb": {
"r": 61,
"g": 45,
"b": 158
},
"hsl": {
"h": 248.496,
"s": 55.665,
"l": 39.804
},
"oklch": {
"l": 0.39374,
"c": 0.17315,
"h": 281.3
},
"luminance": 0.05337
}Semantic roles & 50–950 ramp
primary
#3D2D9E
secondary
#B1BD69
accent
#DF49CA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81