#3D2E9D#3D2E9D
#3D2E9D is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.4% C 0.171 H 281.3°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).
Color values
| HEX | #3D2E9D |
|---|---|
| RGB | rgb(61, 46, 157) |
| HSL | hsl(248, 55%, 40%) |
| HSV | hsv(248, 71%, 62%) |
| CMYK | cmyk(61.1%, 70.7%, 0%, 38.4%) |
| CIE-LAB | lab(27.79, 39.02, -58.10) |
| CIE-LCH | lch(27.79, 69.99, 303.89°) |
| OKLab | oklab(39.43% 0.0335 -0.1674) |
| OKLCH | oklch(39.43% 0.171 281.3) |
| XYZ | xyz(8.9854, 5.3798, 32.4567) |
| Luminance | 0.0538 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.93
Indigo Blue
#3A18B1
ΔE00 5.00
Blueberry
#464196
ΔE00 5.72
Darkslateblue
#483D8B
ΔE00 5.80
Ocean Blue
#4F42B5
ΔE00 6.42
Royal
#0C1793
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D2E9D #8E9D2E
analogous
#2E579D #3D2E9D #752E9D
triadic
#3D2E9D #9D3D2E #2E9D3D
tetradic
#3D2E9D #9D2E57 #8E9D2E #2E9D75
square
#3D2E9D #9D2E57 #8E9D2E #2E9D75
split-complementary
#3D2E9D #9D752E #579D2E
monochromatic
#18123E #2B206E #3D2E9D #5341C7 #7E70D5
Accessibility & contrast
On white
10.12
#3D2E9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#3D2E9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D2E9D
10.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D2E9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D2E9D | 1.00 | 10.12 | 2.08 | 10.12 |
| #FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A0
Deuteranopia (green-blind)
#003E9B
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #3d2e9d; /* rgb */ color: rgb(61, 46, 157); /* oklch */ color: oklch(39.4% 0.171 281.3);
Tailwind
colors: {
custom: {
50: '#7e68bb',
500: '#3d2e9d',
950: '#000000',
},
}SCSS
$custom: #3d2e9d; $custom-light: #7e68bb; $custom-dark: #000000;
JSON
{
"hex": "#3d2e9d",
"rgb": {
"r": 61,
"g": 46,
"b": 157
},
"hsl": {
"h": 248.108,
"s": 54.68,
"l": 39.804
},
"oklch": {
"l": 0.39429,
"c": 0.17074,
"h": 281.3
},
"luminance": 0.0538
}Semantic roles & 50–950 ramp
primary
#3D2E9D
secondary
#B1BD6A
accent
#DE4ACA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81