#4C5AD8#4C5AD8

#4C5AD8 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 53.0% C 0.192 H 273.2°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#4C5AD8
RGBrgb(76, 90, 216)
HSLhsl(234, 64%, 57%)
HSVhsv(234, 65%, 85%)
CMYKcmyk(64.8%, 58.3%, 0%, 15.3%)
CIE-LABlab(43.95, 34.08, -66.42)
CIE-LCHlch(43.95, 74.65, 297.16°)
OKLaboklab(53.03% 0.0106 -0.1912)
OKLCHoklch(53.03% 0.192 273.2)
XYZxyz(19.0272, 13.8050, 66.6144)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5AD8 #D8CA4C
analogous
#4CA0D8 #4C5AD8 #844CD8
triadic
#4C5AD8 #D84C5A #5AD84C
tetradic
#4C5AD8 #D84CA0 #D8CA4C #4CD884
square
#4C5AD8 #D84CA0 #D8CA4C #4CD884
split-complementary
#4C5AD8 #D8844C #A0D84C
monochromatic
#1E298B #2938BE #4C5AD8 #7E88E3 #B1B7EE

Accessibility & contrast

On white

5.58
#4C5AD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#4C5AD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5AD8
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5AD8#FFFFFF#000000##FFFFFF
##4C5AD81.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDC
Deuteranopia (green-blind)
#0062D5
Tritanopia (blue-blind)
#007990
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4c5ad8;
/* rgb */ color: rgb(76, 90, 216);
/* oklch */ color: oklch(53.0% 0.192 273.2);
Tailwind
colors: {
  custom: {
    50: '#8d88e5',
    500: '#4c5ad8',
    950: '#000000',
  },
}
SCSS
$custom: #4c5ad8;
$custom-light: #8d88e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5ad8",
  "rgb": {
    "r": 76,
    "g": 90,
    "b": 216
  },
  "hsl": {
    "h": 234,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53027,
    "c": 0.19151,
    "h": 273.2
  },
  "luminance": 0.13807
}

Semantic roles & 50–950 ramp

primary
#4C5AD8
secondary
#DCD7A4
accent
#D741E7
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4C5AD8

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

Preview Lab → · Contrast checker → · Palette generator →

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