#3D368E#3D368E
#3D368E is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.4% C 0.141 H 281.4°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).
Color values
| HEX | #3D368E |
|---|---|
| RGB | rgb(61, 54, 142) |
| HSL | hsl(245, 45%, 38%) |
| HSV | hsv(245, 62%, 56%) |
| CMYK | cmyk(57%, 62%, 0%, 44.3%) |
| CIE-LAB | lab(28.33, 29.16, -48.01) |
| CIE-LCH | lch(28.33, 56.17, 301.27°) |
| OKLab | oklab(39.42% 0.0277 -0.1378) |
| OKLCH | oklch(39.42% 0.141 281.4) |
| XYZ | xyz(8.1246, 5.5829, 26.2354) |
| Luminance | 0.0558 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 2.85
Blueberry
#464196
ΔE00 3.35
Sapphire (survey)
#2138AB
ΔE00 5.48
Ocean Blue
#4F42B5
ΔE00 6.87
Rebeccapurple
#663399
ΔE00 8.12
Indigo Blue
#3A18B1
ΔE00 8.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D368E #878E36
analogous
#365B8E #3D368E #69368E
triadic
#3D368E #8E3D36 #368E3D
tetradic
#3D368E #8E365B #878E36 #368E69
square
#3D368E #8E365B #878E36 #368E69
split-complementary
#3D368E #8E6936 #5B8E36
monochromatic
#171435 #2A2562 #3D368E #5148B9 #7B74CA
Accessibility & contrast
On white
9.92
#3D368E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#3D368E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D368E
9.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D368E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D368E | 1.00 | 9.92 | 2.12 | 9.92 |
| #FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#00408C
Tritanopia (blue-blind)
#154B5C
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #3d368e; /* rgb */ color: rgb(61, 54, 142); /* oklch */ color: oklch(39.4% 0.141 281.4);
Tailwind
colors: {
custom: {
50: '#7b6db0',
500: '#3d368e',
950: '#000000',
},
}SCSS
$custom: #3d368e; $custom-light: #7b6db0; $custom-dark: #000000;
JSON
{
"hex": "#3d368e",
"rgb": {
"r": 61,
"g": 54,
"b": 142
},
"hsl": {
"h": 244.773,
"s": 44.898,
"l": 38.431
},
"oklch": {
"l": 0.39423,
"c": 0.14056,
"h": 281.4
},
"luminance": 0.05583
}Semantic roles & 50–950 ramp
primary
#3D368E
secondary
#ADB36D
accent
#D553CA
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0710
muted
#7C7A7F