#3D2F8D#3D2F8D
#3D2F8D is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.1% C 0.149 H 283.6°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).
Color values
| HEX | #3D2F8D |
|---|---|
| RGB | rgb(61, 47, 141) |
| HSL | hsl(249, 50%, 37%) |
| HSV | hsv(249, 67%, 55%) |
| CMYK | cmyk(56.7%, 66.7%, 0%, 44.7%) |
| CIE-LAB | lab(26.59, 33.23, -50.24) |
| CIE-LCH | lch(26.59, 60.24, 303.48°) |
| OKLab | oklab(38.12% 0.0349 -0.1444) |
| OKLCH | oklch(38.12% 0.149 283.6) |
| XYZ | xyz(7.7472, 4.9478, 25.7409) |
| Luminance | 0.0495 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.38
Blueberry
#464196
ΔE00 5.21
Sapphire (survey)
#2138AB
ΔE00 6.22
Royal
#0C1793
ΔE00 7.01
Indigo Blue
#3A18B1
ΔE00 7.03
Midnight Blue
#191970
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D2F8D #7F8D2F
analogous
#2F508D #3D2F8D #6C2F8D
triadic
#3D2F8D #8D3D2F #2F8D3D
tetradic
#3D2F8D #8D2F50 #7F8D2F #2F8D6C
square
#3D2F8D #8D2F50 #7F8D2F #2F8D6C
split-complementary
#3D2F8D #8D6C2F #508D2F
monochromatic
#151031 #29205F #3D2F8D #513EBB #7869CD
Accessibility & contrast
On white
10.55
#3D2F8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#3D2F8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D2F8D
10.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D2F8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D2F8D | 1.00 | 10.55 | 1.99 | 10.55 |
| #FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#003C8B
Tritanopia (blue-blind)
#174659
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #3d2f8d; /* rgb */ color: rgb(61, 47, 141); /* oklch */ color: oklch(38.1% 0.149 283.6);
Tailwind
colors: {
custom: {
50: '#7b68af',
500: '#3d2f8d',
950: '#000000',
},
}SCSS
$custom: #3d2f8d; $custom-light: #7b68af; $custom-dark: #000000;
JSON
{
"hex": "#3d2f8d",
"rgb": {
"r": 61,
"g": 47,
"b": 141
},
"hsl": {
"h": 248.936,
"s": 50,
"l": 36.863
},
"oklch": {
"l": 0.38121,
"c": 0.14854,
"h": 283.6
},
"luminance": 0.04948
}Semantic roles & 50–950 ramp
primary
#3D2F8D
secondary
#A8B464
accent
#DA4EC5
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0610
muted
#7C7A7F