#4C5884#4C5884

#4C5884 is a mid, moderate blue. Relative luminance 0.102; OKLCH L 47.0% C 0.073 H 271.7°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#4C5884
RGBrgb(76, 88, 132)
HSLhsl(227, 27%, 41%)
HSVhsv(227, 42%, 52%)
CMYKcmyk(42.4%, 33.3%, 0%, 48.2%)
CIE-LABlab(38.17, 7.45, -26.12)
CIE-LCHlch(38.17, 27.16, 285.93°)
OKLaboklab(46.96% 0.0022 -0.0731)
OKLCHoklch(46.96% 0.073 271.7)
XYZxyz(10.6338, 10.1814, 23.2302)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5884 #84784C
analogous
#4C7484 #4C5884 #5C4C84
triadic
#4C5884 #844C58 #58844C
tetradic
#4C5884 #844C74 #84784C #4C845C
square
#4C5884 #844C74 #84784C #4C845C
split-complementary
#4C5884 #845C4C #74844C
monochromatic
#1F2436 #363E5D #4C5884 #6674A7 #8D97BD

Accessibility & contrast

On white

6.92
#4C5884 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#4C5884 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5884
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5884#FFFFFF#000000##FFFFFF
##4C58841.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495C86
Deuteranopia (green-blind)
#445883
Tritanopia (blue-blind)
#3A6168
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4c5884;
/* rgb */ color: rgb(76, 88, 132);
/* oklch */ color: oklch(47.0% 0.073 271.7);
Tailwind
colors: {
  custom: {
    50: '#8087a8',
    500: '#4c5884',
    950: '#000000',
  },
}
SCSS
$custom: #4c5884;
$custom-light: #8087a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5884",
  "rgb": {
    "r": 76,
    "g": 88,
    "b": 132
  },
  "hsl": {
    "h": 227.143,
    "s": 26.923,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4696,
    "c": 0.07314,
    "h": 271.7
  },
  "luminance": 0.10182
}

Semantic roles & 50–950 ramp

primary
#4C5884
secondary
#AAA182
accent
#AF65C3
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0A0B0F
muted
#7C7C7F

Preview Lab

Preview with #4C5884

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

Preview Lab → · Contrast checker → · Palette generator →

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