#3D397C#3D397C
#3D397C is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.6% C 0.110 H 282.6°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).
Color values
| HEX | #3D397C |
|---|---|
| RGB | rgb(61, 57, 124) |
| HSL | hsl(244, 37%, 35%) |
| HSV | hsv(244, 54%, 49%) |
| CMYK | cmyk(50.8%, 54%, 0%, 51.4%) |
| CIE-LAB | lab(27.77, 21.15, -37.71) |
| CIE-LCH | lch(27.77, 43.24, 299.29°) |
| OKLab | oklab(38.58% 0.0241 -0.1075) |
| OKLCH | oklch(38.58% 0.11 282.6) |
| XYZ | xyz(7.0246, 5.3732, 19.7319) |
| Luminance | 0.0537 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.12
Blueberry
#464196
ΔE00 4.73
Twilight
#4E518B
ΔE00 7.65
Sapphire (survey)
#2138AB
ΔE00 8.47
Dusk
#4E5481
ΔE00 9.14
Cobalt (survey)
#1E488F
ΔE00 9.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D397C #787C39
analogous
#39567C #3D397C #5E397C
triadic
#3D397C #7C3D39 #397C3D
tetradic
#3D397C #7C3956 #787C39 #397C5E
square
#3D397C #7C3956 #787C39 #397C5E
split-complementary
#3D397C #7C5E39 #567C39
monochromatic
#141228 #282652 #3D397C #524CA6 #7671BE
Accessibility & contrast
On white
10.12
#3D397C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#3D397C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D397C
10.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D397C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D397C | 1.00 | 10.12 | 2.07 | 10.12 |
| #FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#18447E
Deuteranopia (green-blind)
#133F7B
Tritanopia (blue-blind)
#264855
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #3d397c; /* rgb */ color: rgb(61, 57, 124); /* oklch */ color: oklch(38.6% 0.110 282.6);
Tailwind
colors: {
custom: {
50: '#776fa2',
500: '#3d397c',
950: '#000000',
},
}SCSS
$custom: #3d397c; $custom-light: #776fa2; $custom-dark: #000000;
JSON
{
"hex": "#3d397c",
"rgb": {
"r": 61,
"g": 57,
"b": 124
},
"hsl": {
"h": 243.582,
"s": 37.017,
"l": 35.49
},
"oklch": {
"l": 0.38582,
"c": 0.11013,
"h": 282.6
},
"luminance": 0.05374
}Semantic roles & 50–950 ramp
primary
#3D397C
secondary
#A3A76A
accent
#CD5BC6
background
#F7F6FA
surface
#EDECF3
border
#C8C7CD
text
#09070F
muted
#7B7A7F