#4C56E7#4C56E7

#4C56E7 is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 53.6% C 0.216 H 273.5°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#4C56E7
RGBrgb(76, 86, 231)
HSLhsl(236, 76%, 60%)
HSVhsv(236, 67%, 91%)
CMYKcmyk(67.1%, 62.8%, 0%, 9.4%)
CIE-LABlab(44.18, 41.58, -74.58)
CIE-LCHlch(44.18, 85.39, 299.14°)
OKLaboklab(53.56% 0.0132 -0.2152)
OKLCHoklch(53.56% 0.216 273.5)
XYZxyz(20.7273, 13.9597, 77.1880)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C56E7 #E7DD4C
analogous
#4CA3E7 #4C56E7 #8F4CE7
triadic
#4C56E7 #E74C56 #56E74C
tetradic
#4C56E7 #E74CA3 #E7DD4C #4CE78F
square
#4C56E7 #E74CA3 #E7DD4C #4CE78F
split-complementary
#4C56E7 #E78F4C #A3E74C
monochromatic
#161FA3 #1D29D9 #4C56E7 #8289EE #B8BCF5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C56E7#FFFFFF#000000##FFFFFF
##4C56E71.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)
#0070EC
Deuteranopia (green-blind)
#0061E4
Tritanopia (blue-blind)
#007B97
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4c56e7;
/* rgb */ color: rgb(76, 86, 231);
/* oklch */ color: oklch(53.6% 0.216 273.5);
Tailwind
colors: {
  custom: {
    50: '#9086f0',
    500: '#4c56e7',
    950: '#000000',
  },
}
SCSS
$custom: #4c56e7;
$custom-light: #9086f0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c56e7",
  "rgb": {
    "r": 76,
    "g": 86,
    "b": 231
  },
  "hsl": {
    "h": 236.129,
    "s": 76.355,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53556,
    "c": 0.21562,
    "h": 273.5
  },
  "luminance": 0.13962
}

Semantic roles & 50–950 ramp

primary
#4C56E7
secondary
#E5E1AA
accent
#CB0DD9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4C56E7

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

Preview Lab → · Contrast checker → · Palette generator →

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