#4C5CD4#4C5CD4

#4C5CD4 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.1% C 0.184 H 272.7°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#4C5CD4
RGBrgb(76, 92, 212)
HSLhsl(233, 61%, 56%)
HSVhsv(233, 64%, 83%)
CMYKcmyk(64.2%, 56.6%, 0%, 16.9%)
CIE-LABlab(44.15, 31.47, -63.81)
CIE-LCHlch(44.15, 71.15, 296.25°)
OKLaboklab(53.08% 0.0088 -0.1835)
OKLCHoklch(53.08% 0.184 272.7)
XYZxyz(18.6873, 13.9426, 63.9810)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5CD4 #D4C44C
analogous
#4CA0D4 #4C5CD4 #804CD4
triadic
#4C5CD4 #D44C5C #5CD44C
tetradic
#4C5CD4 #D44CA0 #D4C44C #4CD480
square
#4C5CD4 #D44CA0 #D4C44C #4CD480
split-complementary
#4C5CD4 #D4804C #A0D44C
monochromatic
#202C86 #2C3CB7 #4C5CD4 #7D89E0 #AFB6EC

Accessibility & contrast

On white

5.54
#4C5CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#4C5CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5CD4
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5CD4#FFFFFF#000000##FFFFFF
##4C5CD41.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD8
Deuteranopia (green-blind)
#0062D2
Tritanopia (blue-blind)
#00798F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4c5cd4;
/* rgb */ color: rgb(76, 92, 212);
/* oklch */ color: oklch(53.1% 0.184 272.7);
Tailwind
colors: {
  custom: {
    50: '#8c8ae2',
    500: '#4c5cd4',
    950: '#000000',
  },
}
SCSS
$custom: #4c5cd4;
$custom-light: #8c8ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5cd4",
  "rgb": {
    "r": 76,
    "g": 92,
    "b": 212
  },
  "hsl": {
    "h": 232.941,
    "s": 61.261,
    "l": 56.471
  },
  "oklch": {
    "l": 0.53081,
    "c": 0.18373,
    "h": 272.7
  },
  "luminance": 0.13944
}

Semantic roles & 50–950 ramp

primary
#4C5CD4
secondary
#DAD3A2
accent
#D143E4
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4C5CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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