#4D3F97#4D3F97
#4D3F97 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.1% C 0.138 H 286.3°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).
Color values
| HEX | #4D3F97 |
|---|---|
| RGB | rgb(77, 63, 151) |
| HSL | hsl(250, 41%, 42%) |
| HSV | hsv(250, 58%, 59%) |
| CMYK | cmyk(49%, 58.3%, 0%, 40.8%) |
| CIE-LAB | lab(32.63, 29.72, -46.51) |
| CIE-LCH | lch(32.63, 55.19, 302.58°) |
| OKLab | oklab(43.15% 0.039 -0.1328) |
| OKLCH | oklch(43.15% 0.138 286.3) |
| XYZ | xyz(10.4224, 7.3667, 30.1449) |
| Luminance | 0.0737 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 1.72
Darkslateblue
#483D8B
ΔE00 2.15
Ocean Blue
#4F42B5
ΔE00 4.75
Rebeccapurple
#663399
ΔE00 6.43
Sapphire (survey)
#2138AB
ΔE00 6.73
Twilight
#4E518B
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D3F97 #89973F
analogous
#3F5D97 #4D3F97 #793F97
triadic
#4D3F97 #974D3F #3F974D
tetradic
#4D3F97 #973F5D #89973F #3F9779
square
#4D3F97 #973F5D #89973F #3F9779
split-complementary
#4D3F97 #97793F #5D973F
monochromatic
#211B41 #372D6C #4D3F97 #6959BA #9085CC
Accessibility & contrast
On white
8.49
#4D3F97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#4D3F97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D3F97
8.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D3F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D3F97 | 1.00 | 8.49 | 2.47 | 8.49 |
| #FFFFFF | 8.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#014F9A
Deuteranopia (green-blind)
#004A95
Tritanopia (blue-blind)
#345364
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #4d3f97; /* rgb */ color: rgb(77, 63, 151); /* oklch */ color: oklch(43.1% 0.138 286.3);
Tailwind
colors: {
custom: {
50: '#8574b6',
500: '#4d3f97',
950: '#000000',
},
}SCSS
$custom: #4d3f97; $custom-light: #8574b6; $custom-dark: #000000;
JSON
{
"hex": "#4d3f97",
"rgb": {
"r": 77,
"g": 63,
"b": 151
},
"hsl": {
"h": 249.545,
"s": 41.121,
"l": 41.961
},
"oklch": {
"l": 0.43148,
"c": 0.13844,
"h": 286.3
},
"luminance": 0.07367
}Semantic roles & 50–950 ramp
primary
#4D3F97
secondary
#ADB67C
accent
#D157BE
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0811
muted
#7C7B80