#3D308E#3D308E
#3D308E is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.149 H 283.2°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).
Color values
| HEX | #3D308E |
|---|---|
| RGB | rgb(61, 48, 142) |
| HSL | hsl(248, 49%, 37%) |
| HSV | hsv(248, 66%, 56%) |
| CMYK | cmyk(57%, 66.2%, 0%, 44.3%) |
| CIE-LAB | lab(26.90, 32.94, -50.35) |
| CIE-LCH | lch(26.90, 60.17, 303.20°) |
| OKLab | oklab(38.38% 0.0338 -0.1447) |
| OKLCH | oklch(38.38% 0.149 283.2) |
| XYZ | xyz(7.8624, 5.0585, 26.1480) |
| Luminance | 0.0506 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.19
Blueberry
#464196
ΔE00 4.93
Sapphire (survey)
#2138AB
ΔE00 5.98
Indigo Blue
#3A18B1
ΔE00 7.10
Royal
#0C1793
ΔE00 7.16
Ocean Blue
#4F42B5
ΔE00 7.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D308E #818E30
analogous
#30528E #3D308E #6C308E
triadic
#3D308E #8E3D30 #308E3D
tetradic
#3D308E #8E3052 #818E30 #308E6C
square
#3D308E #8E3052 #818E30 #308E6C
split-complementary
#3D308E #8E6C30 #528E30
monochromatic
#161133 #292160 #3D308E #513FBC #796BCD
Accessibility & contrast
On white
10.44
#3D308E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#3D308E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D308E
10.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D308E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D308E | 1.00 | 10.44 | 2.01 | 10.44 |
| #FFFFFF | 10.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004391
Deuteranopia (green-blind)
#003C8C
Tritanopia (blue-blind)
#16475A
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #3d308e; /* rgb */ color: rgb(61, 48, 142); /* oklch */ color: oklch(38.4% 0.149 283.2);
Tailwind
colors: {
custom: {
50: '#7b69b0',
500: '#3d308e',
950: '#000000',
},
}SCSS
$custom: #3d308e; $custom-light: #7b69b0; $custom-dark: #000000;
JSON
{
"hex": "#3d308e",
"rgb": {
"r": 61,
"g": 48,
"b": 142
},
"hsl": {
"h": 248.298,
"s": 49.474,
"l": 37.255
},
"oklch": {
"l": 0.38376,
"c": 0.14858,
"h": 283.2
},
"luminance": 0.05059
}Semantic roles & 50–950 ramp
primary
#3D308E
secondary
#A9B465
accent
#D94FC6
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0611
muted
#7C7A80