#4C5792#4C5792
#4C5792 is a mid, moderate blue. Relative luminance 0.104; OKLCH L 47.5% C 0.096 H 274.2°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #4C5792 |
|---|---|
| RGB | rgb(76, 87, 146) |
| HSL | hsl(231, 32%, 44%) |
| HSV | hsv(231, 48%, 57%) |
| CMYK | cmyk(47.9%, 40.4%, 0%, 42.7%) |
| CIE-LAB | lab(38.60, 12.50, -33.94) |
| CIE-LCH | lch(38.60, 36.16, 290.22°) |
| OKLab | oklab(47.53% 0.007 -0.0958) |
| OKLCH | oklch(47.53% 0.096 274.2) |
| XYZ | xyz(11.5754, 10.4276, 28.5913) |
| Luminance | 0.1043 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 2.70
Dusk
#4E5481
ΔE00 3.72
Dusky Blue
#475F94
ΔE00 3.80
Denim Blue
#3B5B92
ΔE00 4.88
Dusk Blue
#26538D
ΔE00 7.27
Blueberry
#464196
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C5792 #92874C
analogous
#4C7A92 #4C5792 #644C92
triadic
#4C5792 #924C57 #57924C
tetradic
#4C5792 #924C7A #92874C #4C9264
square
#4C5792 #924C7A #92874C #4C9264
split-complementary
#4C5792 #92644C #7A924C
monochromatic
#222742 #373F6A #4C5792 #6A75B1 #929AC6
Accessibility & contrast
On white
6.81
#4C5792 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#4C5792 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4C5792
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C5792 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C5792 | 1.00 | 6.81 | 3.09 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#415E94
Deuteranopia (green-blind)
#3B5891
Tritanopia (blue-blind)
#32636D
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #4c5792; /* rgb */ color: rgb(76, 87, 146); /* oklch */ color: oklch(47.5% 0.096 274.2);
Tailwind
colors: {
custom: {
50: '#8286b2',
500: '#4c5792',
950: '#000000',
},
}SCSS
$custom: #4c5792; $custom-light: #8286b2; $custom-dark: #000000;
JSON
{
"hex": "#4c5792",
"rgb": {
"r": 76,
"g": 87,
"b": 146
},
"hsl": {
"h": 230.571,
"s": 31.532,
"l": 43.529
},
"oklch": {
"l": 0.4753,
"c": 0.09609,
"h": 274.2
},
"luminance": 0.10428
}Semantic roles & 50–950 ramp
primary
#4C5792
secondary
#B3AC87
accent
#B760C8
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0B0B11
muted
#7C7C80