#3D368C#3D368C
#3D368C is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.3% C 0.138 H 281.6°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).
Color values
| HEX | #3D368C |
|---|---|
| RGB | rgb(61, 54, 140) |
| HSL | hsl(245, 44%, 38%) |
| HSV | hsv(245, 61%, 55%) |
| CMYK | cmyk(56.4%, 61.4%, 0%, 45.1%) |
| CIE-LAB | lab(28.18, 28.48, -47.03) |
| CIE-LCH | lch(28.18, 54.99, 301.20°) |
| OKLab | oklab(39.26% 0.0278 -0.1349) |
| OKLCH | oklch(39.26% 0.138 281.6) |
| XYZ | xyz(7.9758, 5.5234, 25.4517) |
| Luminance | 0.0552 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 2.72
Blueberry
#464196
ΔE00 3.42
Sapphire (survey)
#2138AB
ΔE00 5.76
Ocean Blue
#4F42B5
ΔE00 7.14
Rebeccapurple
#663399
ΔE00 8.20
Royal
#0C1793
ΔE00 8.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D368C #858C36
analogous
#365A8C #3D368C #68368C
triadic
#3D368C #8C3D36 #368C3D
tetradic
#3D368C #8C365A #858C36 #368C68
square
#3D368C #8C365A #858C36 #368C68
split-complementary
#3D368C #8C6836 #5A8C36
monochromatic
#171434 #2A2560 #3D368C #5047B8 #7A73C9
Accessibility & contrast
On white
9.98
#3D368C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#3D368C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D368C
9.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D368C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D368C | 1.00 | 9.98 | 2.10 | 9.98 |
| #FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00458F
Deuteranopia (green-blind)
#003F8A
Tritanopia (blue-blind)
#184A5B
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #3d368c; /* rgb */ color: rgb(61, 54, 140); /* oklch */ color: oklch(39.3% 0.138 281.6);
Tailwind
colors: {
custom: {
50: '#7a6dae',
500: '#3d368c',
950: '#000000',
},
}SCSS
$custom: #3d368c; $custom-light: #7a6dae; $custom-dark: #000000;
JSON
{
"hex": "#3d368c",
"rgb": {
"r": 61,
"g": 54,
"b": 140
},
"hsl": {
"h": 244.884,
"s": 44.33,
"l": 38.039
},
"oklch": {
"l": 0.39257,
"c": 0.13776,
"h": 281.6
},
"luminance": 0.05524
}Semantic roles & 50–950 ramp
primary
#3D368C
secondary
#ACB26C
accent
#D454CA
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0710
muted
#7C7A7F