#4C579B#4C579B
#4C579B is a mid, moderate blue. Relative luminance 0.107; OKLCH L 48.1% C 0.110 H 274.6°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #4C579B |
|---|---|
| RGB | rgb(76, 87, 155) |
| HSL | hsl(232, 34%, 45%) |
| HSV | hsv(232, 51%, 61%) |
| CMYK | cmyk(51%, 43.9%, 0%, 39.2%) |
| CIE-LAB | lab(39.10, 15.42, -38.55) |
| CIE-LCH | lch(39.10, 41.52, 291.80°) |
| OKLab | oklab(48.08% 0.0088 -0.1093) |
| OKLCH | oklch(48.08% 0.11 274.6) |
| XYZ | xyz(12.3032, 10.7187, 32.4246) |
| Luminance | 0.1072 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.65
Dusky Blue
#475F94
ΔE00 3.96
Denim Blue
#3B5B92
ΔE00 4.92
Dusk
#4E5481
ΔE00 5.28
Blueberry
#464196
ΔE00 7.25
Dusk Blue
#26538D
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C579B #9B904C
analogous
#4C7E9B #4C579B #694C9B
triadic
#4C579B #9B4C57 #579B4C
tetradic
#4C579B #9B4C7E #9B904C #4C9B69
square
#4C579B #9B4C7E #9B904C #4C9B69
split-complementary
#4C579B #9B694C #7E9B4C
monochromatic
#242949 #384072 #4C579B #6D77B7 #969DCB
Accessibility & contrast
On white
6.68
#4C579B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#4C579B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4C579B
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C579B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C579B | 1.00 | 6.68 | 3.14 | 6.68 |
| #FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B609E
Deuteranopia (green-blind)
#345999
Tritanopia (blue-blind)
#2C6571
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #4c579b; /* rgb */ color: rgb(76, 87, 155); /* oklch */ color: oklch(48.1% 0.110 274.6);
Tailwind
colors: {
custom: {
50: '#8386b9',
500: '#4c579b',
950: '#000000',
},
}SCSS
$custom: #4c579b; $custom-light: #8386b9; $custom-dark: #000000;
JSON
{
"hex": "#4c579b",
"rgb": {
"r": 76,
"g": 87,
"b": 155
},
"hsl": {
"h": 231.646,
"s": 34.199,
"l": 45.294
},
"oklch": {
"l": 0.48079,
"c": 0.10968,
"h": 274.6
},
"luminance": 0.10719
}Semantic roles & 50–950 ramp
primary
#4C579B
secondary
#B8B28B
accent
#BB5ECA
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0B0B11
muted
#7C7C80