#4C5887#4C5887
#4C5887 is a mid, moderate blue. Relative luminance 0.103; OKLCH L 47.1% C 0.078 H 272.2°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).
Color values
| HEX | #4C5887 |
|---|---|
| RGB | rgb(76, 88, 135) |
| HSL | hsl(228, 28%, 41%) |
| HSV | hsv(228, 44%, 53%) |
| CMYK | cmyk(43.7%, 34.8%, 0%, 47.1%) |
| CIE-LAB | lab(38.31, 8.38, -27.72) |
| CIE-LCH | lch(38.31, 28.95, 286.82°) |
| OKLab | oklab(47.12% 0.003 -0.0777) |
| OKLCH | oklch(47.12% 0.078 272.2) |
| XYZ | xyz(10.8420, 10.2647, 24.3270) |
| Luminance | 0.1027 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 2.22
Twilight
#4E518B
ΔE00 3.30
Dusky Blue
#475F94
ΔE00 4.07
Denim Blue
#3B5B92
ΔE00 5.19
Dusk Blue
#26538D
ΔE00 7.50
Light Navy Blue
#2E5A88
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C5887 #877B4C
analogous
#4C7687 #4C5887 #5E4C87
triadic
#4C5887 #874C58 #58874C
tetradic
#4C5887 #874C76 #877B4C #4C875E
square
#4C5887 #874C76 #877B4C #4C875E
split-complementary
#4C5887 #875E4C #76874C
monochromatic
#202539 #363E60 #4C5887 #6774A9 #8E98BF
Accessibility & contrast
On white
6.88
#4C5887 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#4C5887 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4C5887
6.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C5887 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C5887 | 1.00 | 6.88 | 3.05 | 6.88 |
| #FFFFFF | 6.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#485D89
Deuteranopia (green-blind)
#435886
Tritanopia (blue-blind)
#386269
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #4c5887; /* rgb */ color: rgb(76, 88, 135); /* oklch */ color: oklch(47.1% 0.078 272.2);
Tailwind
colors: {
custom: {
50: '#8187aa',
500: '#4c5887',
950: '#000000',
},
}SCSS
$custom: #4c5887; $custom-light: #8187aa; $custom-dark: #000000;
JSON
{
"hex": "#4c5887",
"rgb": {
"r": 76,
"g": 88,
"b": 135
},
"hsl": {
"h": 227.797,
"s": 27.962,
"l": 41.373
},
"oklch": {
"l": 0.47123,
"c": 0.07779,
"h": 272.2
},
"luminance": 0.10265
}Semantic roles & 50–950 ramp
primary
#4C5887
secondary
#ACA383
accent
#B164C4
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0A0B10
muted
#7C7C7F