#3D2F9D#3D2F9D
#3D2F9D is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.6% C 0.170 H 281.1°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).
Color values
| HEX | #3D2F9D |
|---|---|
| RGB | rgb(61, 47, 157) |
| HSL | hsl(248, 54%, 40%) |
| HSV | hsv(248, 70%, 62%) |
| CMYK | cmyk(61.1%, 70.1%, 0%, 38.4%) |
| CIE-LAB | lab(28.00, 38.44, -57.75) |
| CIE-LCH | lch(28.00, 69.37, 303.64°) |
| OKLab | oklab(39.58% 0.0326 -0.1664) |
| OKLCH | oklch(39.58% 0.17 281.1) |
| XYZ | xyz(9.0249, 5.4588, 32.4698) |
| Luminance | 0.0546 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.76
Indigo Blue
#3A18B1
ΔE00 5.22
Blueberry
#464196
ΔE00 5.47
Darkslateblue
#483D8B
ΔE00 5.60
Ocean Blue
#4F42B5
ΔE00 6.24
Royal
#0C1793
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D2F9D #8F9D2F
analogous
#2F589D #3D2F9D #742F9D
triadic
#3D2F9D #9D3D2F #2F9D3D
tetradic
#3D2F9D #9D2F58 #8F9D2F #2F9D74
square
#3D2F9D #9D2F58 #8F9D2F #2F9D74
split-complementary
#3D2F9D #9D742F #589D2F
monochromatic
#18133F #2B216E #3D2F9D #5343C7 #7E72D5
Accessibility & contrast
On white
10.04
#3D2F9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#3D2F9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D2F9D
10.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D2F9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D2F9D | 1.00 | 10.04 | 2.09 | 10.04 |
| #FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A0
Deuteranopia (green-blind)
#003E9B
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #3d2f9d; /* rgb */ color: rgb(61, 47, 157); /* oklch */ color: oklch(39.6% 0.170 281.1);
Tailwind
colors: {
custom: {
50: '#7e69bb',
500: '#3d2f9d',
950: '#000000',
},
}SCSS
$custom: #3d2f9d; $custom-light: #7e69bb; $custom-dark: #000000;
JSON
{
"hex": "#3d2f9d",
"rgb": {
"r": 61,
"g": 47,
"b": 157
},
"hsl": {
"h": 247.636,
"s": 53.922,
"l": 40
},
"oklch": {
"l": 0.39581,
"c": 0.16957,
"h": 281.1
},
"luminance": 0.05459
}Semantic roles & 50–950 ramp
primary
#3D2F9D
secondary
#B2BC6B
accent
#DD4BCB
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81