#3D309F#3D309F
#3D309F is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.9% C 0.171 H 280.6°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).
Color values
| HEX | #3D309F |
|---|---|
| RGB | rgb(61, 48, 159) |
| HSL | hsl(247, 54%, 41%) |
| HSV | hsv(247, 70%, 62%) |
| CMYK | cmyk(61.6%, 69.8%, 0%, 37.6%) |
| CIE-LAB | lab(28.40, 38.49, -58.31) |
| CIE-LCH | lch(28.40, 69.87, 303.43°) |
| OKLab | oklab(39.92% 0.0315 -0.168) |
| OKLCH | oklch(39.92% 0.171 280.6) |
| XYZ | xyz(9.2375, 5.6085, 33.3899) |
| Luminance | 0.0561 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.48
Indigo Blue
#3A18B1
ΔE00 5.28
Blueberry
#464196
ΔE00 5.33
Darkslateblue
#483D8B
ΔE00 5.61
Ocean Blue
#4F42B5
ΔE00 5.91
Blue With A Hint Of Purple
#533CC6
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D309F #929F30
analogous
#305A9F #3D309F #74309F
triadic
#3D309F #9F3D30 #309F3D
tetradic
#3D309F #9F305A #929F30 #309F74
square
#3D309F #9F305A #929F30 #309F74
split-complementary
#3D309F #9F7430 #5A9F30
monochromatic
#191441 #2B2270 #3D309F #5445C7 #8074D5
Accessibility & contrast
On white
9.90
#3D309F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#3D309F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D309F
9.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D309F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D309F | 1.00 | 9.90 | 2.12 | 9.90 |
| #FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #3d309f; /* rgb */ color: rgb(61, 48, 159); /* oklch */ color: oklch(39.9% 0.171 280.6);
Tailwind
colors: {
custom: {
50: '#7e6abc',
500: '#3d309f',
950: '#000000',
},
}SCSS
$custom: #3d309f; $custom-light: #7e6abc; $custom-dark: #000000;
JSON
{
"hex": "#3d309f",
"rgb": {
"r": 61,
"g": 48,
"b": 159
},
"hsl": {
"h": 247.027,
"s": 53.623,
"l": 40.588
},
"oklch": {
"l": 0.39924,
"c": 0.17097,
"h": 280.6
},
"luminance": 0.05609
}Semantic roles & 50–950 ramp
primary
#3D309F
secondary
#B4BD6E
accent
#DD4BCC
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81