#3D409F#3D409F
#3D409F is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.7% C 0.151 H 276.5°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).
Color values
| HEX | #3D409F |
|---|---|
| RGB | rgb(61, 64, 159) |
| HSL | hsl(238, 45%, 43%) |
| HSV | hsv(238, 62%, 62%) |
| CMYK | cmyk(61.6%, 59.7%, 0%, 37.6%) |
| CIE-LAB | lab(32.17, 28.52, -52.16) |
| CIE-LCH | lch(32.17, 59.45, 298.66°) |
| OKLab | oklab(42.67% 0.0172 -0.1499) |
| OKLCH | oklch(42.67% 0.151 276.5) |
| XYZ | xyz(10.0138, 7.1613, 33.6487) |
| Luminance | 0.0716 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.25
Sapphire (survey)
#2138AB
ΔE00 3.87
Darkslateblue
#483D8B
ΔE00 4.30
Ocean Blue
#4F42B5
ΔE00 4.37
Blue Blue
#2242C7
ΔE00 5.84
Cobalt
#0047AB
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D409F #9F9C3D
analogous
#3D719F #3D409F #6B3D9F
triadic
#3D409F #9F3D40 #409F3D
tetradic
#3D409F #9F3D71 #9F9C3D #3D9F6B
square
#3D409F #9F3D71 #9F9C3D #3D9F6B
split-complementary
#3D409F #9F6B3D #719F3D
monochromatic
#1B1C47 #2C2E73 #3D409F #5A5DC0 #8688D1
Accessibility & contrast
On white
8.63
#3D409F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#3D409F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D409F
8.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D409F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D409F | 1.00 | 8.63 | 2.43 | 8.63 |
| #FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#00489D
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #3d409f; /* rgb */ color: rgb(61, 64, 159); /* oklch */ color: oklch(42.7% 0.151 276.5);
Tailwind
colors: {
custom: {
50: '#7d75bc',
500: '#3d409f',
950: '#000000',
},
}SCSS
$custom: #3d409f; $custom-light: #7d75bc; $custom-dark: #000000;
JSON
{
"hex": "#3d409f",
"rgb": {
"r": 61,
"g": 64,
"b": 159
},
"hsl": {
"h": 238.163,
"s": 44.545,
"l": 43.137
},
"oklch": {
"l": 0.42673,
"c": 0.15091,
"h": 276.5
},
"luminance": 0.07162
}Semantic roles & 50–950 ramp
primary
#3D409F
secondary
#BBB97D
accent
#D054D4
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0812
muted
#7C7B81