#4C548E#4C548E
#4C548E is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.6% C 0.094 H 276.2°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #4C548E |
|---|---|
| RGB | rgb(76, 84, 142) |
| HSL | hsl(233, 30%, 43%) |
| HSV | hsv(233, 46%, 56%) |
| CMYK | cmyk(46.5%, 40.8%, 0%, 44.3%) |
| CIE-LAB | lab(37.53, 13.14, -33.20) |
| CIE-LCH | lch(37.53, 35.70, 291.60°) |
| OKLab | oklab(46.64% 0.0101 -0.0937) |
| OKLCH | oklch(46.64% 0.094 276.2) |
| XYZ | xyz(11.0318, 9.8296, 26.9019) |
| Luminance | 0.0983 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 1.50
Dusk
#4E5481
ΔE00 2.99
Dusky Blue
#475F94
ΔE00 4.94
Denim Blue
#3B5B92
ΔE00 5.79
Blueberry
#464196
ΔE00 6.94
Dusk Blue
#26538D
ΔE00 7.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C548E #8E864C
analogous
#4C758E #4C548E #654C8E
triadic
#4C548E #8E4C54 #548E4C
tetradic
#4C548E #8E4C75 #8E864C #4C8E65
square
#4C548E #8E4C75 #8E864C #4C8E65
split-complementary
#4C548E #8E654C #758E4C
monochromatic
#21253E #373C66 #4C548E #6971AF #9197C4
Accessibility & contrast
On white
7.08
#4C548E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#4C548E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C548E
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C548E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C548E | 1.00 | 7.08 | 2.97 | 7.08 |
| #FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E5B90
Deuteranopia (green-blind)
#39568D
Tritanopia (blue-blind)
#35606A
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #4c548e; /* rgb */ color: rgb(76, 84, 142); /* oklch */ color: oklch(46.6% 0.094 276.2);
Tailwind
colors: {
custom: {
50: '#8284af',
500: '#4c548e',
950: '#000000',
},
}SCSS
$custom: #4c548e; $custom-light: #8284af; $custom-dark: #000000;
JSON
{
"hex": "#4c548e",
"rgb": {
"r": 76,
"g": 84,
"b": 142
},
"hsl": {
"h": 232.727,
"s": 30.275,
"l": 42.745
},
"oklch": {
"l": 0.46643,
"c": 0.09423,
"h": 276.2
},
"luminance": 0.0983
}Semantic roles & 50–950 ramp
primary
#4C548E
secondary
#B0AB86
accent
#BA61C7
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0A10
muted
#7C7C7F