#4C5A84#4C5A84

#4C5A84 is a mid, moderate blue. Relative luminance 0.105; OKLCH L 47.4% C 0.070 H 269.5°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#4C5A84
RGBrgb(76, 90, 132)
HSLhsl(225, 27%, 41%)
HSVhsv(225, 42%, 52%)
CMYKcmyk(42.4%, 31.8%, 0%, 48.2%)
CIE-LABlab(38.75, 6.19, -25.21)
CIE-LCHlch(38.75, 25.95, 283.79°)
OKLaboklab(47.41% -0.0006 -0.0705)
OKLCHoklch(47.41% 0.07 269.5)
XYZxyz(10.8002, 10.5142, 23.2857)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5A84 #84764C
analogous
#4C7684 #4C5A84 #5A4C84
triadic
#4C5A84 #844C5A #5A844C
tetradic
#4C5A84 #844C76 #84764C #4C845A
square
#4C5A84 #844C76 #84764C #4C845A
split-complementary
#4C5A84 #845A4C #76844C
monochromatic
#1F2536 #36405D #4C5A84 #6676A7 #8D99BD

Accessibility & contrast

On white

6.77
#4C5A84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#4C5A84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5A84
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5A84#FFFFFF#000000##FFFFFF
##4C5A841.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5E86
Deuteranopia (green-blind)
#465983
Tritanopia (blue-blind)
#3A6369
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4c5a84;
/* rgb */ color: rgb(76, 90, 132);
/* oklch */ color: oklch(47.4% 0.070 269.5);
Tailwind
colors: {
  custom: {
    50: '#8088a8',
    500: '#4c5a84',
    950: '#000000',
  },
}
SCSS
$custom: #4c5a84;
$custom-light: #8088a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5a84",
  "rgb": {
    "r": 76,
    "g": 90,
    "b": 132
  },
  "hsl": {
    "h": 225,
    "s": 26.923,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47413,
    "c": 0.07047,
    "h": 269.5
  },
  "luminance": 0.10515
}

Semantic roles & 50–950 ramp

primary
#4C5A84
secondary
#AAA082
accent
#AC65C3
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0A0B0F
muted
#7C7C7F

Preview Lab

Preview with #4C5A84

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

Preview Lab → · Contrast checker → · Palette generator →

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