#3D397F#3D397F
#3D397F is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.8% C 0.115 H 282.2°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).
Color values
| HEX | #3D397F |
|---|---|
| RGB | rgb(61, 57, 127) |
| HSL | hsl(243, 38%, 36%) |
| HSV | hsv(243, 55%, 50%) |
| CMYK | cmyk(52%, 55.1%, 0%, 50.2%) |
| CIE-LAB | lab(27.98, 22.16, -39.26) |
| CIE-LCH | lch(27.98, 45.08, 299.44°) |
| OKLab | oklab(38.81% 0.0243 -0.112) |
| OKLCH | oklch(38.81% 0.115 282.2) |
| XYZ | xyz(7.2172, 5.4503, 20.7463) |
| Luminance | 0.0545 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 2.72
Blueberry
#464196
ΔE00 4.25
Twilight
#4E518B
ΔE00 7.66
Sapphire (survey)
#2138AB
ΔE00 7.91
Cobalt (survey)
#1E488F
ΔE00 9.03
Ocean Blue
#4F42B5
ΔE00 9.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D397F #7B7F39
analogous
#39587F #3D397F #60397F
triadic
#3D397F #7F3D39 #397F3D
tetradic
#3D397F #7F3958 #7B7F39 #397F60
square
#3D397F #7F3958 #7B7F39 #397F60
split-complementary
#3D397F #7F6039 #587F39
monochromatic
#14132B #292655 #3D397F #514CA9 #7772C0
Accessibility & contrast
On white
10.05
#3D397F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#3D397F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D397F
10.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D397F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D397F | 1.00 | 10.05 | 2.09 | 10.05 |
| #FFFFFF | 10.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#134481
Deuteranopia (green-blind)
#0D407D
Tritanopia (blue-blind)
#244956
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #3d397f; /* rgb */ color: rgb(61, 57, 127); /* oklch */ color: oklch(38.8% 0.115 282.2);
Tailwind
colors: {
custom: {
50: '#786fa5',
500: '#3d397f',
950: '#000000',
},
}SCSS
$custom: #3d397f; $custom-light: #786fa5; $custom-dark: #000000;
JSON
{
"hex": "#3d397f",
"rgb": {
"r": 61,
"g": 57,
"b": 127
},
"hsl": {
"h": 243.429,
"s": 38.043,
"l": 36.078
},
"oklch": {
"l": 0.38805,
"c": 0.11463,
"h": 282.2
},
"luminance": 0.05451
}Semantic roles & 50–950 ramp
primary
#3D397F
secondary
#A6A96B
accent
#CE5AC7
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#09070F
muted
#7B7A7F