#3D339F#3D339F
#3D339F is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.4% C 0.167 H 280.0°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #3D339F |
|---|---|
| RGB | rgb(61, 51, 159) |
| HSL | hsl(246, 51%, 41%) |
| HSV | hsv(246, 68%, 62%) |
| CMYK | cmyk(61.6%, 67.9%, 0%, 37.6%) |
| CIE-LAB | lab(29.06, 36.70, -57.23) |
| CIE-LCH | lch(29.06, 67.99, 302.67°) |
| OKLab | oklab(40.4% 0.029 -0.1649) |
| OKLCH | oklch(40.4% 0.167 280) |
| XYZ | xyz(9.3643, 5.8623, 33.4322) |
| Luminance | 0.0586 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.01
Blueberry
#464196
ΔE00 4.60
Darkslateblue
#483D8B
ΔE00 5.10
Ocean Blue
#4F42B5
ΔE00 5.39
Indigo Blue
#3A18B1
ΔE00 6.01
Blue With A Hint Of Purple
#533CC6
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D339F #959F33
analogous
#335F9F #3D339F #73339F
triadic
#3D339F #9F3D33 #339F3D
tetradic
#3D339F #9F335F #959F33 #339F73
square
#3D339F #9F335F #959F33 #339F73
split-complementary
#3D339F #9F7333 #5F9F33
monochromatic
#191542 #2B2471 #3D339F #564AC5 #8179D4
Accessibility & contrast
On white
9.67
#3D339F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#3D339F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D339F
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D339F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D339F | 1.00 | 9.67 | 2.17 | 9.67 |
| #FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049A2
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #3d339f; /* rgb */ color: rgb(61, 51, 159); /* oklch */ color: oklch(40.4% 0.167 280.0);
Tailwind
colors: {
custom: {
50: '#7e6cbc',
500: '#3d339f',
950: '#000000',
},
}SCSS
$custom: #3d339f; $custom-light: #7e6cbc; $custom-dark: #000000;
JSON
{
"hex": "#3d339f",
"rgb": {
"r": 61,
"g": 51,
"b": 159
},
"hsl": {
"h": 245.556,
"s": 51.429,
"l": 41.176
},
"oklch": {
"l": 0.40399,
"c": 0.16742,
"h": 280
},
"luminance": 0.05863
}Semantic roles & 50–950 ramp
primary
#3D339F
secondary
#B5BC71
accent
#DB4DCE
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0712
muted
#7C7A81