#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
RGBrgb(76, 87, 146)
HSLhsl(231, 32%, 44%)
HSVhsv(231, 48%, 57%)
CMYKcmyk(47.9%, 40.4%, 0%, 42.7%)
CIE-LABlab(38.60, 12.50, -33.94)
CIE-LCHlch(38.60, 36.16, 290.22°)
OKLaboklab(47.53% 0.007 -0.0958)
OKLCHoklch(47.53% 0.096 274.2)
XYZxyz(11.5754, 10.4276, 28.5913)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

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
##4C57921.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.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

Preview Lab

Preview with #4C5792

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

Preview Lab → · Contrast checker → · Palette generator →

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