#4C56D2#4C56D2

#4C56D2 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.8% C 0.188 H 274.3°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#4C56D2
RGBrgb(76, 86, 210)
HSLhsl(236, 60%, 56%)
HSVhsv(236, 64%, 82%)
CMYKcmyk(63.8%, 59%, 0%, 17.6%)
CIE-LABlab(42.53, 34.53, -65.30)
CIE-LCHlch(42.53, 73.87, 297.87°)
OKLaboklab(51.83% 0.014 -0.188)
OKLCHoklch(51.83% 0.188 274.3)
XYZxyz(17.9373, 12.8437, 62.4941)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C56D2 #D2C84C
analogous
#4C99D2 #4C56D2 #854CD2
triadic
#4C56D2 #D24C56 #56D24C
tetradic
#4C56D2 #D24C99 #D2C84C #4CD285
square
#4C56D2 #D24C99 #D2C84C #4CD285
split-complementary
#4C56D2 #D2854C #99D24C
monochromatic
#212883 #2D37B4 #4C56D2 #7D84DE #AEB2EB

Accessibility & contrast

On white

5.88
#4C56D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#4C56D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C56D2
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C56D2#FFFFFF#000000##FFFFFF
##4C56D21.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#005FD0
Tritanopia (blue-blind)
#00748C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4c56d2;
/* rgb */ color: rgb(76, 86, 210);
/* oklch */ color: oklch(51.8% 0.188 274.3);
Tailwind
colors: {
  custom: {
    50: '#8c85e1',
    500: '#4c56d2',
    950: '#000000',
  },
}
SCSS
$custom: #4c56d2;
$custom-light: #8c85e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c56d2",
  "rgb": {
    "r": 76,
    "g": 86,
    "b": 210
  },
  "hsl": {
    "h": 235.522,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51828,
    "c": 0.18849,
    "h": 274.3
  },
  "luminance": 0.12845
}

Semantic roles & 50–950 ramp

primary
#4C56D2
secondary
#D9D4A1
accent
#D745E3
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4C56D2

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

Preview Lab → · Contrast checker → · Palette generator →

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