#3D396F#3D396F
#3D396F is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.7% C 0.090 H 284.6°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).
Color values
| HEX | #3D396F |
|---|---|
| RGB | rgb(61, 57, 111) |
| HSL | hsl(244, 32%, 33%) |
| HSV | hsv(244, 49%, 44%) |
| CMYK | cmyk(45%, 48.6%, 0%, 56.5%) |
| CIE-LAB | lab(26.92, 16.87, -30.84) |
| CIE-LCH | lch(26.92, 35.15, 298.68°) |
| OKLab | oklab(37.67% 0.0227 -0.0873) |
| OKLCH | oklch(37.67% 0.09 284.6) |
| XYZ | xyz(6.2560, 5.0658, 15.6840) |
| Luminance | 0.0507 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.49
Blueberry
#464196
ΔE00 7.23
Twilight
#4E518B
ΔE00 8.10
Dusk
#4E5481
ΔE00 8.82
Navy Blue
#1B2A4A
ΔE00 9.22
Marine
#042E60
ΔE00 9.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D396F #6B6F39
analogous
#39506F #3D396F #58396F
triadic
#3D396F #6F3D39 #396F3D
tetradic
#3D396F #6F3950 #6B6F39 #396F58
square
#3D396F #6F3950 #6B6F39 #396F58
split-complementary
#3D396F #6F5839 #506F39
monochromatic
#110F1E #272447 #3D396F #534E97 #736EB4
Accessibility & contrast
On white
10.43
#3D396F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#3D396F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D396F
10.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D396F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D396F | 1.00 | 10.43 | 2.01 | 10.43 |
| #FFFFFF | 10.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#244171
Deuteranopia (green-blind)
#223E6E
Tritanopia (blue-blind)
#2E444E
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #3d396f; /* rgb */ color: rgb(61, 57, 111); /* oklch */ color: oklch(37.7% 0.090 284.6);
Tailwind
colors: {
custom: {
50: '#766f99',
500: '#3d396f',
950: '#000000',
},
}SCSS
$custom: #3d396f; $custom-light: #766f99; $custom-dark: #000000;
JSON
{
"hex": "#3d396f",
"rgb": {
"r": 61,
"g": 57,
"b": 111
},
"hsl": {
"h": 244.444,
"s": 32.143,
"l": 32.941
},
"oklch": {
"l": 0.37668,
"c": 0.09021,
"h": 284.6
},
"luminance": 0.05066
}Semantic roles & 50–950 ramp
primary
#3D396F
secondary
#9A9E66
accent
#C85FC1
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#09070E
muted
#7B7A7E