#4C5797#4C5797
#4C5797 is a mid, moderate blue. Relative luminance 0.106; OKLCH L 47.8% C 0.104 H 274.5°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #4C5797 |
|---|---|
| RGB | rgb(76, 87, 151) |
| HSL | hsl(231, 33%, 45%) |
| HSV | hsv(231, 50%, 59%) |
| CMYK | cmyk(49.7%, 42.4%, 0%, 40.8%) |
| CIE-LAB | lab(38.88, 14.11, -36.51) |
| CIE-LCH | lch(38.88, 39.14, 291.13°) |
| OKLab | oklab(47.83% 0.0081 -0.1034) |
| OKLCH | oklch(47.83% 0.104 274.5) |
| XYZ | xyz(11.9728, 10.5866, 30.6847) |
| Luminance | 0.1059 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.17
Dusky Blue
#475F94
ΔE00 3.82
Dusk
#4E5481
ΔE00 4.60
Denim Blue
#3B5B92
ΔE00 4.85
Dusk Blue
#26538D
ΔE00 7.26
Blueberry
#464196
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C5797 #978C4C
analogous
#4C7D97 #4C5797 #674C97
triadic
#4C5797 #974C57 #57974C
tetradic
#4C5797 #974C7D #978C4C #4C9767
square
#4C5797 #974C7D #978C4C #4C9767
split-complementary
#4C5797 #97674C #7D974C
monochromatic
#232846 #38406E #4C5797 #6B76B5 #949CC9
Accessibility & contrast
On white
6.74
#4C5797 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#4C5797 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4C5797
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C5797 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C5797 | 1.00 | 6.74 | 3.12 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E5F99
Deuteranopia (green-blind)
#375996
Tritanopia (blue-blind)
#2F646F
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #4c5797; /* rgb */ color: rgb(76, 87, 151); /* oklch */ color: oklch(47.8% 0.104 274.5);
Tailwind
colors: {
custom: {
50: '#8386b6',
500: '#4c5797',
950: '#000000',
},
}SCSS
$custom: #4c5797; $custom-light: #8386b6; $custom-dark: #000000;
JSON
{
"hex": "#4c5797",
"rgb": {
"r": 76,
"g": 87,
"b": 151
},
"hsl": {
"h": 231.2,
"s": 33.04,
"l": 44.51
},
"oklch": {
"l": 0.47832,
"c": 0.10367,
"h": 274.5
},
"luminance": 0.10587
}Semantic roles & 50–950 ramp
primary
#4C5797
secondary
#B6AF89
accent
#BA5FC9
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0B0B11
muted
#7C7C80