#4C5ACE#4C5ACE

#4C5ACE is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.2% C 0.178 H 273.4°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#4C5ACE
RGBrgb(76, 90, 206)
HSLhsl(234, 57%, 55%)
HSVhsv(234, 63%, 81%)
CMYKcmyk(63.1%, 56.3%, 0%, 19.2%)
CIE-LABlab(43.22, 30.68, -61.88)
CIE-LCHlch(43.22, 69.07, 296.37°)
OKLaboklab(52.25% 0.0104 -0.1779)
OKLCHoklch(52.25% 0.178 273.4)
XYZxyz(17.7735, 13.3036, 60.0118)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5ACE #CEC04C
analogous
#4C9BCE #4C5ACE #7F4CCE
triadic
#4C5ACE #CE4C5A #5ACE4C
tetradic
#4C5ACE #CE4C9B #CEC04C #4CCE7F
square
#4C5ACE #CE4C9B #CEC04C #4CCE7F
split-complementary
#4C5ACE #CE7F4C #9BCE4C
monochromatic
#222C7D #2F3DAD #4C5ACE #7C86DB #ACB3E8

Accessibility & contrast

On white

5.74
#4C5ACE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#4C5ACE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5ACE
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5ACE#FFFFFF#000000##FFFFFF
##4C5ACE1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD2
Deuteranopia (green-blind)
#0061CC
Tritanopia (blue-blind)
#00768B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4c5ace;
/* rgb */ color: rgb(76, 90, 206);
/* oklch */ color: oklch(52.2% 0.178 273.4);
Tailwind
colors: {
  custom: {
    50: '#8b88de',
    500: '#4c5ace',
    950: '#000000',
  },
}
SCSS
$custom: #4c5ace;
$custom-light: #8b88de;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5ace",
  "rgb": {
    "r": 76,
    "g": 90,
    "b": 206
  },
  "hsl": {
    "h": 233.538,
    "s": 57.018,
    "l": 55.294
  },
  "oklch": {
    "l": 0.52248,
    "c": 0.17818,
    "h": 273.4
  },
  "luminance": 0.13305
}

Semantic roles & 50–950 ramp

primary
#4C5ACE
secondary
#D6D0A0
accent
#D048E0
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4C5ACE

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

Preview Lab → · Contrast checker → · Palette generator →

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