#3D409C#3D409C
#3D409C is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.4% C 0.147 H 276.7°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).
Color values
| HEX | #3D409C |
|---|---|
| RGB | rgb(61, 64, 156) |
| HSL | hsl(238, 44%, 43%) |
| HSV | hsv(238, 61%, 61%) |
| CMYK | cmyk(60.9%, 59%, 0%, 38.8%) |
| CIE-LAB | lab(31.94, 27.48, -50.72) |
| CIE-LCH | lch(31.94, 57.69, 298.44°) |
| OKLab | oklab(42.43% 0.0172 -0.1457) |
| OKLCH | oklch(42.43% 0.147 276.7) |
| XYZ | xyz(9.7567, 7.0585, 32.2943) |
| Luminance | 0.0706 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 1.96
Darkslateblue
#483D8B
ΔE00 3.96
Sapphire (survey)
#2138AB
ΔE00 4.14
Ocean Blue
#4F42B5
ΔE00 4.75
Blue Blue
#2242C7
ΔE00 6.27
Cobalt
#0047AB
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D409C #9C993D
analogous
#3D709C #3D409C #693D9C
triadic
#3D409C #9C3D40 #409C3D
tetradic
#3D409C #9C3D70 #9C993D #3D9C69
square
#3D409C #9C3D70 #9C993D #3D9C69
split-complementary
#3D409C #9C693D #709C3D
monochromatic
#1B1C44 #2C2E70 #3D409C #585CBE #8487CF
Accessibility & contrast
On white
8.71
#3D409C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#3D409C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D409C
8.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D409C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D409C | 1.00 | 8.71 | 2.41 | 8.71 |
| #FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004F9F
Deuteranopia (green-blind)
#00479A
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #3d409c; /* rgb */ color: rgb(61, 64, 156); /* oklch */ color: oklch(42.4% 0.147 276.7);
Tailwind
colors: {
custom: {
50: '#7c75ba',
500: '#3d409c',
950: '#000000',
},
}SCSS
$custom: #3d409c; $custom-light: #7c75ba; $custom-dark: #000000;
JSON
{
"hex": "#3d409c",
"rgb": {
"r": 61,
"g": 64,
"b": 156
},
"hsl": {
"h": 238.105,
"s": 43.779,
"l": 42.549
},
"oklch": {
"l": 0.42428,
"c": 0.14671,
"h": 276.7
},
"luminance": 0.07059
}Semantic roles & 50–950 ramp
primary
#3D409C
secondary
#B9B77C
accent
#D054D4
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0A0812
muted
#7C7B81