#3D2F8F#3D2F8F
#3D2F8F is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.3% C 0.151 H 283.3°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).
Color values
| HEX | #3D2F8F |
|---|---|
| RGB | rgb(61, 47, 143) |
| HSL | hsl(249, 51%, 37%) |
| HSV | hsv(249, 67%, 56%) |
| CMYK | cmyk(57.3%, 67.1%, 0%, 43.9%) |
| CIE-LAB | lab(26.76, 33.88, -51.20) |
| CIE-LCH | lch(26.76, 61.40, 303.50°) |
| OKLab | oklab(38.3% 0.0347 -0.1472) |
| OKLCH | oklch(38.3% 0.151 283.3) |
| XYZ | xyz(7.8974, 5.0078, 26.5317) |
| Luminance | 0.0501 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.50
Blueberry
#464196
ΔE00 5.19
Sapphire (survey)
#2138AB
ΔE00 5.99
Indigo Blue
#3A18B1
ΔE00 6.77
Royal
#0C1793
ΔE00 6.91
Ocean Blue
#4F42B5
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D2F8F #818F2F
analogous
#2F518F #3D2F8F #6D2F8F
triadic
#3D2F8F #8F3D2F #2F8F3D
tetradic
#3D2F8F #8F2F51 #818F2F #2F8F6D
square
#3D2F8F #8F2F51 #818F2F #2F8F6D
split-complementary
#3D2F8F #8F6D2F #518F2F
monochromatic
#161133 #292061 #3D2F8F #513EBD #796ACE
Accessibility & contrast
On white
10.49
#3D2F8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#3D2F8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D2F8F
10.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D2F8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D2F8F | 1.00 | 10.49 | 2.00 | 10.49 |
| #FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#15475A
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #3d2f8f; /* rgb */ color: rgb(61, 47, 143); /* oklch */ color: oklch(38.3% 0.151 283.3);
Tailwind
colors: {
custom: {
50: '#7b68b1',
500: '#3d2f8f',
950: '#000000',
},
}SCSS
$custom: #3d2f8f; $custom-light: #7b68b1; $custom-dark: #000000;
JSON
{
"hex": "#3d2f8f",
"rgb": {
"r": 61,
"g": 47,
"b": 143
},
"hsl": {
"h": 248.75,
"s": 50.526,
"l": 37.255
},
"oklch": {
"l": 0.38298,
"c": 0.15122,
"h": 283.3
},
"luminance": 0.05008
}Semantic roles & 50–950 ramp
primary
#3D2F8F
secondary
#A9B565
accent
#DA4EC6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80