#3D3C79#3D3C79
#3D3C79 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 39.0% C 0.101 H 281.4°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).
Color values
| HEX | #3D3C79 |
|---|---|
| RGB | rgb(61, 60, 121) |
| HSL | hsl(241, 34%, 35%) |
| HSV | hsv(241, 50%, 47%) |
| CMYK | cmyk(49.6%, 50.4%, 0%, 52.5%) |
| CIE-LAB | lab(28.39, 18.15, -34.83) |
| CIE-LCH | lch(28.39, 39.28, 297.52°) |
| OKLab | oklab(38.98% 0.0199 -0.099) |
| OKLCH | oklch(38.98% 0.101 281.4) |
| XYZ | xyz(6.9905, 5.6039, 18.7988) |
| Luminance | 0.0560 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.87
Blueberry
#464196
ΔE00 5.24
Twilight
#4E518B
ΔE00 6.82
Dusk
#4E5481
ΔE00 8.05
Cobalt (survey)
#1E488F
ΔE00 8.74
Sapphire (survey)
#2138AB
ΔE00 9.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D3C79 #78793C
analogous
#3C5979 #3D3C79 #5B3C79
triadic
#3D3C79 #793D3C #3C793D
tetradic
#3D3C79 #793C59 #78793C #3C795B
square
#3D3C79 #793C59 #78793C #3C795B
split-complementary
#3D3C79 #795B3C #59793C
monochromatic
#141327 #282850 #3D3C79 #5250A2 #7675BB
Accessibility & contrast
On white
9.90
#3D3C79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#3D3C79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D3C79
9.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D3C79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D3C79 | 1.00 | 9.90 | 2.12 | 9.90 |
| #FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#21457B
Deuteranopia (green-blind)
#1D4178
Tritanopia (blue-blind)
#284954
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #3d3c79; /* rgb */ color: rgb(61, 60, 121); /* oklch */ color: oklch(39.0% 0.101 281.4);
Tailwind
colors: {
custom: {
50: '#7771a0',
500: '#3d3c79',
950: '#000000',
},
}SCSS
$custom: #3d3c79; $custom-light: #7771a0; $custom-dark: #000000;
JSON
{
"hex": "#3d3c79",
"rgb": {
"r": 61,
"g": 60,
"b": 121
},
"hsl": {
"h": 240.984,
"s": 33.702,
"l": 35.49
},
"oklch": {
"l": 0.38982,
"c": 0.10099,
"h": 281.4
},
"luminance": 0.05604
}Semantic roles & 50–950 ramp
primary
#3D3C79
secondary
#A3A46C
accent
#CA5EC8
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#09070F
muted
#7B7A7E