#4C548A#4C548A
#4C548A is a mid, moderate blue. Relative luminance 0.097; OKLCH L 46.4% C 0.088 H 276.0°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #4C548A |
|---|---|
| RGB | rgb(76, 84, 138) |
| HSL | hsl(232, 29%, 42%) |
| HSV | hsv(232, 45%, 54%) |
| CMYK | cmyk(44.9%, 39.1%, 0%, 45.9%) |
| CIE-LAB | lab(37.32, 11.88, -31.10) |
| CIE-LCH | lch(37.32, 33.29, 290.90°) |
| OKLab | oklab(46.41% 0.0092 -0.0876) |
| OKLCH | oklch(46.41% 0.088 276) |
| XYZ | xyz(10.7369, 9.7116, 25.3486) |
| Luminance | 0.0971 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 1.50
Dusk
#4E5481
ΔE00 2.20
Dusky Blue
#475F94
ΔE00 5.13
Denim Blue
#3B5B92
ΔE00 5.99
Blueberry
#464196
ΔE00 7.36
Dusk Blue
#26538D
ΔE00 7.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C548A #8A824C
analogous
#4C738A #4C548A #634C8A
triadic
#4C548A #8A4C54 #548A4C
tetradic
#4C548A #8A4C73 #8A824C #4C8A63
square
#4C548A #8A4C73 #8A824C #4C8A63
split-complementary
#4C548A #8A634C #738A4C
monochromatic
#21243B #363C63 #4C548A #6870AC #8F96C1
Accessibility & contrast
On white
7.14
#4C548A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#4C548A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C548A
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C548A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C548A | 1.00 | 7.14 | 2.94 | 7.14 |
| #FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#415A8C
Deuteranopia (green-blind)
#3C5589
Tritanopia (blue-blind)
#375F68
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #4c548a; /* rgb */ color: rgb(76, 84, 138); /* oklch */ color: oklch(46.4% 0.088 276.0);
Tailwind
colors: {
custom: {
50: '#8184ac',
500: '#4c548a',
950: '#000000',
},
}SCSS
$custom: #4c548a; $custom-light: #8184ac; $custom-dark: #000000;
JSON
{
"hex": "#4c548a",
"rgb": {
"r": 76,
"g": 84,
"b": 138
},
"hsl": {
"h": 232.258,
"s": 28.972,
"l": 41.961
},
"oklch": {
"l": 0.46407,
"c": 0.08807,
"h": 276
},
"luminance": 0.09712
}Semantic roles & 50–950 ramp
primary
#4C548A
secondary
#AEA884
accent
#B963C5
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0A0A10
muted
#7C7C7F