#4D548C#4D548C
#4D548C is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.6% C 0.091 H 276.9°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).
Color values
| HEX | #4D548C |
|---|---|
| RGB | rgb(77, 84, 140) |
| HSL | hsl(233, 29%, 43%) |
| HSV | hsv(233, 45%, 55%) |
| CMYK | cmyk(45%, 40%, 0%, 45.1%) |
| CIE-LAB | lab(37.50, 12.78, -32.03) |
| CIE-LCH | lch(37.50, 34.48, 291.75°) |
| OKLab | oklab(46.6% 0.0109 -0.0903) |
| OKLCH | oklch(46.6% 0.091 276.9) |
| XYZ | xyz(10.9631, 9.8113, 26.1220) |
| Luminance | 0.0981 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 1.26
Dusk
#4E5481
ΔE00 2.52
Dusky Blue
#475F94
ΔE00 5.20
Denim Blue
#3B5B92
ΔE00 6.13
Blueberry
#464196
ΔE00 7.13
Darkslateblue
#483D8B
ΔE00 7.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D548C #8C854D
analogous
#4D748C #4D548C #654D8C
triadic
#4D548C #8C4D54 #548C4D
tetradic
#4D548C #8C4D74 #8C854D #4D8C65
square
#4D548C #8C4D74 #8C854D #4D8C65
split-complementary
#4D548C #8C654D #748C4D
monochromatic
#22253D #373C65 #4D548C #6971AD #9196C2
Accessibility & contrast
On white
7.09
#4D548C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#4D548C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D548C
7.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D548C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D548C | 1.00 | 7.09 | 2.96 | 7.09 |
| #FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#405B8E
Deuteranopia (green-blind)
#3B568B
Tritanopia (blue-blind)
#385F69
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #4d548c; /* rgb */ color: rgb(77, 84, 140); /* oklch */ color: oklch(46.6% 0.091 276.9);
Tailwind
colors: {
custom: {
50: '#8284ae',
500: '#4d548c',
950: '#000000',
},
}SCSS
$custom: #4d548c; $custom-light: #8284ae; $custom-dark: #000000;
JSON
{
"hex": "#4d548c",
"rgb": {
"r": 77,
"g": 84,
"b": 140
},
"hsl": {
"h": 233.333,
"s": 29.032,
"l": 42.549
},
"oklch": {
"l": 0.46601,
"c": 0.09091,
"h": 276.9
},
"luminance": 0.09812
}Semantic roles & 50–950 ramp
primary
#4D548C
secondary
#AFAA86
accent
#BA62C5
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0A10
muted
#7C7C7F