#4C5793#4C5793

#4C5793 is a mid, moderate blue. Relative luminance 0.105; OKLCH L 47.6% C 0.098 H 274.3°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#4C5793
RGBrgb(76, 87, 147)
HSLhsl(231, 32%, 44%)
HSVhsv(231, 48%, 58%)
CMYKcmyk(48.3%, 40.8%, 0%, 42.4%)
CIE-LABlab(38.65, 12.82, -34.45)
CIE-LCHlch(38.65, 36.76, 290.41°)
OKLaboklab(47.59% 0.0072 -0.0973)
OKLCHoklch(47.59% 0.098 274.3)
XYZxyz(11.6535, 10.4588, 29.0028)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5793 #93884C
analogous
#4C7A93 #4C5793 #644C93
triadic
#4C5793 #934C57 #57934C
tetradic
#4C5793 #934C7A #93884C #4C9364
square
#4C5793 #934C7A #93884C #4C9364
split-complementary
#4C5793 #93644C #7A934C
monochromatic
#222742 #373F6B #4C5793 #6A75B2 #929BC7

Accessibility & contrast

On white

6.79
#4C5793 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#4C5793 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5793
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5793#FFFFFF#000000##FFFFFF
##4C57931.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405E95
Deuteranopia (green-blind)
#3A5892
Tritanopia (blue-blind)
#31646E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4c5793;
/* rgb */ color: rgb(76, 87, 147);
/* oklch */ color: oklch(47.6% 0.098 274.3);
Tailwind
colors: {
  custom: {
    50: '#8286b3',
    500: '#4c5793',
    950: '#000000',
  },
}
SCSS
$custom: #4c5793;
$custom-light: #8286b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5793",
  "rgb": {
    "r": 76,
    "g": 87,
    "b": 147
  },
  "hsl": {
    "h": 230.704,
    "s": 31.839,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4759,
    "c": 0.09761,
    "h": 274.3
  },
  "luminance": 0.10459
}

Semantic roles & 50–950 ramp

primary
#4C5793
secondary
#B3AC88
accent
#B860C8
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #4C5793

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

Preview Lab → · Contrast checker → · Palette generator →

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