#3D408F#3D408F
#3D408F is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.4% C 0.128 H 277.6°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #3D408F |
|---|---|
| RGB | rgb(61, 64, 143) |
| HSL | hsl(238, 40%, 40%) |
| HSV | hsv(238, 57%, 56%) |
| CMYK | cmyk(57.3%, 55.2%, 0%, 43.9%) |
| CIE-LAB | lab(30.98, 22.97, -44.35) |
| CIE-LCH | lch(30.98, 49.95, 297.38°) |
| OKLab | oklab(41.4% 0.0169 -0.127) |
| OKLCH | oklch(41.4% 0.128 277.6) |
| XYZ | xyz(8.7142, 6.6415, 26.8040) |
| Luminance | 0.0664 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 1.97
Darkslateblue
#483D8B
ΔE00 2.91
Sapphire (survey)
#2138AB
ΔE00 5.76
Twilight
#4E518B
ΔE00 6.26
Ocean Blue
#4F42B5
ΔE00 6.61
Cobalt (survey)
#1E488F
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D408F #8F8C3D
analogous
#3D698F #3D408F #633D8F
triadic
#3D408F #8F3D40 #408F3D
tetradic
#3D408F #8F3D69 #8F8C3D #3D8F63
square
#3D408F #8F3D69 #8F8C3D #3D8F63
split-complementary
#3D408F #8F633D #698F3D
monochromatic
#181A39 #2B2D64 #3D408F #5357B6 #7E81C8
Accessibility & contrast
On white
9.02
#3D408F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#3D408F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D408F
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D408F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D408F | 1.00 | 9.02 | 2.33 | 9.02 |
| #FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F4C92
Deuteranopia (green-blind)
#00468D
Tritanopia (blue-blind)
#115261
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #3d408f; /* rgb */ color: rgb(61, 64, 143); /* oklch */ color: oklch(41.4% 0.128 277.6);
Tailwind
colors: {
custom: {
50: '#7a74b0',
500: '#3d408f',
950: '#000000',
},
}SCSS
$custom: #3d408f; $custom-light: #7a74b0; $custom-dark: #000000;
JSON
{
"hex": "#3d408f",
"rgb": {
"r": 61,
"g": 64,
"b": 143
},
"hsl": {
"h": 237.805,
"s": 40.196,
"l": 40
},
"oklch": {
"l": 0.41405,
"c": 0.12808,
"h": 277.6
},
"luminance": 0.06642
}Semantic roles & 50–950 ramp
primary
#3D408F
secondary
#B2B076
accent
#CC58D0
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#0A0811
muted
#7C7B80