#3D2F98#3D2F98
#3D2F98 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.1% C 0.163 H 281.8°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).
Color values
| HEX | #3D2F98 |
|---|---|
| RGB | rgb(61, 47, 152) |
| HSL | hsl(248, 53%, 39%) |
| HSV | hsv(248, 69%, 60%) |
| CMYK | cmyk(59.9%, 69.1%, 0%, 40.4%) |
| CIE-LAB | lab(27.55, 36.81, -55.44) |
| CIE-LCH | lch(27.55, 66.55, 303.58°) |
| OKLab | oklab(39.12% 0.0334 -0.1596) |
| OKLCH | oklch(39.12% 0.163 281.8) |
| XYZ | xyz(8.6067, 5.2915, 30.2675) |
| Luminance | 0.0529 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.11
Darkslateblue
#483D8B
ΔE00 5.16
Blueberry
#464196
ΔE00 5.29
Indigo Blue
#3A18B1
ΔE00 5.71
Ocean Blue
#4F42B5
ΔE00 6.66
Royal
#0C1793
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D2F98 #8A982F
analogous
#2F5698 #3D2F98 #722F98
triadic
#3D2F98 #983D2F #2F983D
tetradic
#3D2F98 #982F56 #8A982F #2F9872
square
#3D2F98 #982F56 #8A982F #2F9872
split-complementary
#3D2F98 #98722F #56982F
monochromatic
#17123B #2A2169 #3D2F98 #5240C4 #7C6FD2
Accessibility & contrast
On white
10.20
#3D2F98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#3D2F98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D2F98
10.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D2F98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D2F98 | 1.00 | 10.20 | 2.06 | 10.20 |
| #FFFFFF | 10.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459B
Deuteranopia (green-blind)
#003D96
Tritanopia (blue-blind)
#014A5F
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #3d2f98; /* rgb */ color: rgb(61, 47, 152); /* oklch */ color: oklch(39.1% 0.163 281.8);
Tailwind
colors: {
custom: {
50: '#7d69b7',
500: '#3d2f98',
950: '#000000',
},
}SCSS
$custom: #3d2f98; $custom-light: #7d69b7; $custom-dark: #000000;
JSON
{
"hex": "#3d2f98",
"rgb": {
"r": 61,
"g": 47,
"b": 152
},
"hsl": {
"h": 248,
"s": 52.764,
"l": 39.02
},
"oklch": {
"l": 0.39116,
"c": 0.16309,
"h": 281.8
},
"luminance": 0.05292
}Semantic roles & 50–950 ramp
primary
#3D2F98
secondary
#AFBA69
accent
#DC4CC9
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80