#4C548F#4C548F
#4C548F is a mid, moderate blue. Relative luminance 0.099; OKLCH L 46.7% C 0.096 H 276.2°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #4C548F |
|---|---|
| RGB | rgb(76, 84, 143) |
| HSL | hsl(233, 31%, 43%) |
| HSV | hsv(233, 47%, 56%) |
| CMYK | cmyk(46.9%, 41.3%, 0%, 43.9%) |
| CIE-LAB | lab(37.59, 13.46, -33.72) |
| CIE-LCH | lch(37.59, 36.31, 291.77°) |
| OKLab | oklab(46.7% 0.0103 -0.0952) |
| OKLCH | oklch(46.7% 0.096 276.2) |
| XYZ | xyz(11.1072, 9.8597, 27.2991) |
| Luminance | 0.0986 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 1.57
Dusk
#4E5481
ΔE00 3.19
Dusky Blue
#475F94
ΔE00 4.91
Denim Blue
#3B5B92
ΔE00 5.76
Blueberry
#464196
ΔE00 6.84
Dusk Blue
#26538D
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C548F #8F874C
analogous
#4C758F #4C548F #654C8F
triadic
#4C548F #8F4C54 #548F4C
tetradic
#4C548F #8F4C75 #8F874C #4C8F65
square
#4C548F #8F4C75 #8F874C #4C8F65
split-complementary
#4C548F #8F654C #758F4C
monochromatic
#22253F #373D67 #4C548F #6971AF #9197C4
Accessibility & contrast
On white
7.07
#4C548F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#4C548F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C548F
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C548F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C548F | 1.00 | 7.07 | 2.97 | 7.07 |
| #FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E5B91
Deuteranopia (green-blind)
#39568E
Tritanopia (blue-blind)
#34606A
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #4c548f; /* rgb */ color: rgb(76, 84, 143); /* oklch */ color: oklch(46.7% 0.096 276.2);
Tailwind
colors: {
custom: {
50: '#8284b0',
500: '#4c548f',
950: '#000000',
},
}SCSS
$custom: #4c548f; $custom-light: #8284b0; $custom-dark: #000000;
JSON
{
"hex": "#4c548f",
"rgb": {
"r": 76,
"g": 84,
"b": 143
},
"hsl": {
"h": 232.836,
"s": 30.594,
"l": 42.941
},
"oklch": {
"l": 0.46702,
"c": 0.09577,
"h": 276.2
},
"luminance": 0.0986
}Semantic roles & 50–950 ramp
primary
#4C548F
secondary
#B1AC86
accent
#BB61C7
background
#F8F8FA
surface
#EFEFF5
border
#CACACF
text
#0B0A10
muted
#7C7C7F