#3D308F#3D308F
#3D308F is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.5% C 0.150 H 283.0°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).
Color values
| HEX | #3D308F |
|---|---|
| RGB | rgb(61, 48, 143) |
| HSL | hsl(248, 50%, 37%) |
| HSV | hsv(248, 66%, 56%) |
| CMYK | cmyk(57.3%, 66.4%, 0%, 43.9%) |
| CIE-LAB | lab(26.99, 33.27, -50.83) |
| CIE-LCH | lch(26.99, 60.75, 303.21°) |
| OKLab | oklab(38.46% 0.0337 -0.1461) |
| OKLCH | oklch(38.46% 0.15 283) |
| XYZ | xyz(7.9378, 5.0887, 26.5452) |
| Luminance | 0.0509 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.25
Blueberry
#464196
ΔE00 4.92
Sapphire (survey)
#2138AB
ΔE00 5.86
Indigo Blue
#3A18B1
ΔE00 6.97
Royal
#0C1793
ΔE00 7.12
Ocean Blue
#4F42B5
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D308F #828F30
analogous
#30528F #3D308F #6D308F
triadic
#3D308F #8F3D30 #308F3D
tetradic
#3D308F #8F3052 #828F30 #308F6D
square
#3D308F #8F3052 #828F30 #308F6D
split-complementary
#3D308F #8F6D30 #528F30
monochromatic
#161133 #292161 #3D308F #513FBD #796CCE
Accessibility & contrast
On white
10.41
#3D308F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#3D308F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D308F
10.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D308F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D308F | 1.00 | 10.41 | 2.02 | 10.41 |
| #FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#14485B
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #3d308f; /* rgb */ color: rgb(61, 48, 143); /* oklch */ color: oklch(38.5% 0.150 283.0);
Tailwind
colors: {
custom: {
50: '#7b69b1',
500: '#3d308f',
950: '#000000',
},
}SCSS
$custom: #3d308f; $custom-light: #7b69b1; $custom-dark: #000000;
JSON
{
"hex": "#3d308f",
"rgb": {
"r": 61,
"g": 48,
"b": 143
},
"hsl": {
"h": 248.211,
"s": 49.738,
"l": 37.451
},
"oklch": {
"l": 0.38464,
"c": 0.14993,
"h": 283
},
"luminance": 0.05089
}Semantic roles & 50–950 ramp
primary
#3D308F
secondary
#AAB566
accent
#D94FC6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80