#4C5AC8#4C5AC8

#4C5AC8 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.8% C 0.170 H 273.5°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#4C5AC8
RGBrgb(76, 90, 200)
HSLhsl(233, 53%, 54%)
HSVhsv(233, 62%, 78%)
CMYKcmyk(62%, 55%, 0%, 21.6%)
CIE-LABlab(42.79, 28.63, -59.11)
CIE-LCHlch(42.79, 65.68, 295.84°)
OKLaboklab(51.79% 0.0102 -0.1697)
OKLCHoklch(51.79% 0.17 273.5)
XYZxyz(17.0585, 13.0176, 56.2461)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5AC8 #C8BA4C
analogous
#4C98C8 #4C5AC8 #7C4CC8
triadic
#4C5AC8 #C84C5A #5AC84C
tetradic
#4C5AC8 #C84C98 #C8BA4C #4CC87C
square
#4C5AC8 #C84C98 #C8BA4C #4CC87C
split-complementary
#4C5AC8 #C87C4C #98C84C
monochromatic
#242D75 #323FA4 #4C5AC8 #7B85D6 #AAB0E5

Accessibility & contrast

On white

5.83
#4C5AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#4C5AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5AC8
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5AC8#FFFFFF#000000##FFFFFF
##4C5AC81.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#016BCC
Deuteranopia (green-blind)
#0060C6
Tritanopia (blue-blind)
#007488
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4c5ac8;
/* rgb */ color: rgb(76, 90, 200);
/* oklch */ color: oklch(51.8% 0.170 273.5);
Tailwind
colors: {
  custom: {
    50: '#8a88d9',
    500: '#4c5ac8',
    950: '#000000',
  },
}
SCSS
$custom: #4c5ac8;
$custom-light: #8a88d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5ac8",
  "rgb": {
    "r": 76,
    "g": 90,
    "b": 200
  },
  "hsl": {
    "h": 233.226,
    "s": 52.991,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51794,
    "c": 0.17004,
    "h": 273.5
  },
  "luminance": 0.13019
}

Semantic roles & 50–950 ramp

primary
#4C5AC8
secondary
#D2CC9E
accent
#CC4BDC
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4C5AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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