#4D519F#4D519F
#4D519F is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.2% C 0.124 H 278.3°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #4D519F |
|---|---|
| RGB | rgb(77, 81, 159) |
| HSL | hsl(237, 35%, 46%) |
| HSV | hsv(237, 52%, 62%) |
| CMYK | cmyk(51.6%, 49.1%, 0%, 37.6%) |
| CIE-LAB | lab(37.78, 20.82, -43.06) |
| CIE-LCH | lch(37.78, 47.83, 295.80°) |
| OKLab | oklab(47.17% 0.0179 -0.1226) |
| OKLCH | oklch(47.17% 0.124 278.3) |
| XYZ | xyz(12.2591, 9.9651, 34.0717) |
| Luminance | 0.0997 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.87
Blueberry
#464196
ΔE00 5.07
Dusky Blue
#475F94
ΔE00 6.27
Dusk
#4E5481
ΔE00 6.32
Ocean Blue
#4F42B5
ΔE00 6.36
Darkslateblue
#483D8B
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D519F #9F9B4D
analogous
#4D7A9F #4D519F #724D9F
triadic
#4D519F #9F4D51 #519F4D
tetradic
#4D519F #9F4D7A #9F9B4D #4D9F72
square
#4D519F #9F4D7A #9F9B4D #4D9F72
split-complementary
#4D519F #9F724D #7A9F4D
monochromatic
#25274D #393C76 #4D519F #7073BA #999BCE
Accessibility & contrast
On white
7.02
#4D519F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#4D519F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D519F
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D519F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D519F | 1.00 | 7.02 | 2.99 | 7.02 |
| #FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E5CA2
Deuteranopia (green-blind)
#26569D
Tritanopia (blue-blind)
#2C6270
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #4d519f; /* rgb */ color: rgb(77, 81, 159); /* oklch */ color: oklch(47.2% 0.124 278.3);
Tailwind
colors: {
custom: {
50: '#8581bc',
500: '#4d519f',
950: '#000000',
},
}SCSS
$custom: #4d519f; $custom-light: #8581bc; $custom-dark: #000000;
JSON
{
"hex": "#4d519f",
"rgb": {
"r": 77,
"g": 81,
"b": 159
},
"hsl": {
"h": 237.073,
"s": 34.746,
"l": 46.275
},
"oklch": {
"l": 0.47171,
"c": 0.12387,
"h": 278.3
},
"luminance": 0.09966
}Semantic roles & 50–950 ramp
primary
#4D519F
secondary
#BAB88E
accent
#C55DCB
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0A12
muted
#7C7C81