#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
RGBrgb(76, 88, 135)
HSLhsl(228, 28%, 41%)
HSVhsv(228, 44%, 53%)
CMYKcmyk(43.7%, 34.8%, 0%, 47.1%)
CIE-LABlab(38.31, 8.38, -27.72)
CIE-LCHlch(38.31, 28.95, 286.82°)
OKLaboklab(47.12% 0.003 -0.0777)
OKLCHoklch(47.12% 0.078 272.2)
XYZxyz(10.8420, 10.2647, 24.3270)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

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
##4C58871.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.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

Preview Lab

Preview with #4C5887

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#4C5887 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva