#3D309C#3D309C
#3D309C is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.6% C 0.167 H 281.0°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).
Color values
| HEX | #3D309C |
|---|---|
| RGB | rgb(61, 48, 156) |
| HSL | hsl(247, 53%, 40%) |
| HSV | hsv(247, 69%, 61%) |
| CMYK | cmyk(60.9%, 69.2%, 0%, 38.8%) |
| CIE-LAB | lab(28.13, 37.52, -56.94) |
| CIE-LCH | lch(28.13, 68.19, 303.38°) |
| OKLab | oklab(39.64% 0.032 -0.164) |
| OKLCH | oklch(39.64% 0.167 281) |
| XYZ | xyz(8.9803, 5.5057, 32.0355) |
| Luminance | 0.0551 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.66
Blueberry
#464196
ΔE00 5.18
Darkslateblue
#483D8B
ΔE00 5.32
Indigo Blue
#3A18B1
ΔE00 5.54
Ocean Blue
#4F42B5
ΔE00 6.14
Royal
#0C1793
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D309C #8F9C30
analogous
#30599C #3D309C #73309C
triadic
#3D309C #9C3D30 #309C3D
tetradic
#3D309C #9C3059 #8F9C30 #309C73
square
#3D309C #9C3059 #8F9C30 #309C73
split-complementary
#3D309C #9C7330 #599C30
monochromatic
#18133E #2B226D #3D309C #5344C5 #7E73D4
Accessibility & contrast
On white
9.99
#3D309C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#3D309C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D309C
9.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D309C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D309C | 1.00 | 9.99 | 2.10 | 9.99 |
| #FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#003E9A
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #3d309c; /* rgb */ color: rgb(61, 48, 156); /* oklch */ color: oklch(39.6% 0.167 281.0);
Tailwind
colors: {
custom: {
50: '#7e69ba',
500: '#3d309c',
950: '#000000',
},
}SCSS
$custom: #3d309c; $custom-light: #7e69ba; $custom-dark: #000000;
JSON
{
"hex": "#3d309c",
"rgb": {
"r": 61,
"g": 48,
"b": 156
},
"hsl": {
"h": 247.222,
"s": 52.941,
"l": 40
},
"oklch": {
"l": 0.39644,
"c": 0.1671,
"h": 281
},
"luminance": 0.05506
}Semantic roles & 50–950 ramp
primary
#3D309C
secondary
#B2BC6C
accent
#DC4BCB
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81