#3D388F#3D388F
#3D388F is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.9% C 0.139 H 280.6°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #3D388F |
|---|---|
| RGB | rgb(61, 56, 143) |
| HSL | hsl(243, 44%, 39%) |
| HSV | hsv(243, 61%, 56%) |
| CMYK | cmyk(57.3%, 60.8%, 0%, 43.9%) |
| CIE-LAB | lab(28.91, 28.21, -47.70) |
| CIE-LCH | lch(28.91, 55.41, 300.60°) |
| OKLab | oklab(39.87% 0.0256 -0.1369) |
| OKLCH | oklch(39.87% 0.139 280.6) |
| XYZ | xyz(8.2950, 5.8031, 26.6643) |
| Luminance | 0.0580 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 2.61
Blueberry
#464196
ΔE00 2.82
Sapphire (survey)
#2138AB
ΔE00 5.28
Ocean Blue
#4F42B5
ΔE00 6.59
Rebeccapurple
#663399
ΔE00 8.34
Twilight
#4E518B
ΔE00 8.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D388F #8A8F38
analogous
#385F8F #3D388F #69388F
triadic
#3D388F #8F3D38 #388F3D
tetradic
#3D388F #8F385F #8A8F38 #388F69
square
#3D388F #8F385F #8A8F38 #388F69
split-complementary
#3D388F #8F6938 #5F8F38
monochromatic
#171637 #2A2763 #3D388F #524BB9 #7C77CA
Accessibility & contrast
On white
9.72
#3D388F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#3D388F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D388F
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D388F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D388F | 1.00 | 9.72 | 2.16 | 9.72 |
| #FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#00418D
Tritanopia (blue-blind)
#134D5E
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #3d388f; /* rgb */ color: rgb(61, 56, 143); /* oklch */ color: oklch(39.9% 0.139 280.6);
Tailwind
colors: {
custom: {
50: '#7b6fb0',
500: '#3d388f',
950: '#000000',
},
}SCSS
$custom: #3d388f; $custom-light: #7b6fb0; $custom-dark: #000000;
JSON
{
"hex": "#3d388f",
"rgb": {
"r": 61,
"g": 56,
"b": 143
},
"hsl": {
"h": 243.448,
"s": 43.719,
"l": 39.02
},
"oklch": {
"l": 0.39871,
"c": 0.13923,
"h": 280.6
},
"luminance": 0.05804
}Semantic roles & 50–950 ramp
primary
#3D388F
secondary
#AFB370
accent
#D354CC
background
#F7F6FA
surface
#EEECF5
border
#C9C7CF
text
#0A0711
muted
#7C7A80