#4D508F#4D508F
#4D508F is a mid, moderate blue. Relative luminance 0.093; OKLCH L 45.9% C 0.101 H 279.5°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #4D508F |
|---|---|
| RGB | rgb(77, 80, 143) |
| HSL | hsl(237, 30%, 43%) |
| HSV | hsv(237, 46%, 56%) |
| CMYK | cmyk(46.2%, 44.1%, 0%, 43.9%) |
| CIE-LAB | lab(36.55, 16.30, -35.36) |
| CIE-LCH | lch(36.55, 38.93, 294.75°) |
| OKLab | oklab(45.93% 0.0168 -0.1) |
| OKLCH | oklch(45.93% 0.101 279.5) |
| XYZ | xyz(10.8857, 9.2977, 27.2023) |
| Luminance | 0.0930 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 1.03
Dusk
#4E5481
ΔE00 3.78
Blueberry
#464196
ΔE00 5.48
Darkslateblue
#483D8B
ΔE00 6.25
Dusky Blue
#475F94
ΔE00 6.45
Denim Blue
#3B5B92
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D508F #8F8C4D
analogous
#4D718F #4D508F #6B4D8F
triadic
#4D508F #8F4D50 #508F4D
tetradic
#4D508F #8F4D71 #8F8C4D #4D8F6B
square
#4D508F #8F4D71 #8F8C4D #4D8F6B
split-complementary
#4D508F #8F6B4D #718F4D
monochromatic
#22233F #383A67 #4D508F #6A6DAF #9294C4
Accessibility & contrast
On white
7.34
#4D508F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#4D508F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D508F
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D508F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D508F | 1.00 | 7.34 | 2.86 | 7.34 |
| #FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#385991
Deuteranopia (green-blind)
#33548E
Tritanopia (blue-blind)
#375D68
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #4d508f; /* rgb */ color: rgb(77, 80, 143); /* oklch */ color: oklch(45.9% 0.101 279.5);
Tailwind
colors: {
custom: {
50: '#8381b0',
500: '#4d508f',
950: '#000000',
},
}SCSS
$custom: #4d508f; $custom-light: #8381b0; $custom-dark: #000000;
JSON
{
"hex": "#4d508f",
"rgb": {
"r": 77,
"g": 80,
"b": 143
},
"hsl": {
"h": 237.273,
"s": 30,
"l": 43.137
},
"oklch": {
"l": 0.45929,
"c": 0.1014,
"h": 279.5
},
"luminance": 0.09298
}Semantic roles & 50–950 ramp
primary
#4D508F
secondary
#B1AF87
accent
#C262C6
background
#F8F7FA
surface
#EFEEF5
border
#CAC9CF
text
#0B0A10
muted
#7C7C7F