#4C56E1#4C56E1

#4C56E1 is a mid, highly saturated blue. Relative luminance 0.136; OKLCH L 53.1% C 0.208 H 273.7°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#4C56E1
RGBrgb(76, 86, 225)
HSLhsl(236, 71%, 59%)
HSVhsv(236, 66%, 88%)
CMYKcmyk(66.2%, 61.8%, 0%, 11.8%)
CIE-LABlab(43.69, 39.58, -71.97)
CIE-LCHlch(43.69, 82.13, 298.81°)
OKLaboklab(53.05% 0.0135 -0.2075)
OKLCHoklch(53.05% 0.208 273.7)
XYZxyz(19.8944, 13.6265, 72.8013)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C56E1 #E1D74C
analogous
#4CA1E1 #4C56E1 #8D4CE1
triadic
#4C56E1 #E14C56 #56E14C
tetradic
#4C56E1 #E14CA1 #E1D74C #4CE18D
square
#4C56E1 #E14CA1 #E1D74C #4CE18D
split-complementary
#4C56E1 #E18D4C #A1E14C
monochromatic
#1A2299 #222ECD #4C56E1 #8087EA #B5B9F3

Accessibility & contrast

On white

5.64
#4C56E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#4C56E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C56E1
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C56E1#FFFFFF#000000##FFFFFF
##4C56E11.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE5
Deuteranopia (green-blind)
#0061DE
Tritanopia (blue-blind)
#007993
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4c56e1;
/* rgb */ color: rgb(76, 86, 225);
/* oklch */ color: oklch(53.1% 0.208 273.7);
Tailwind
colors: {
  custom: {
    50: '#8f86eb',
    500: '#4c56e1',
    950: '#000000',
  },
}
SCSS
$custom: #4c56e1;
$custom-light: #8f86eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4c56e1",
  "rgb": {
    "r": 76,
    "g": 86,
    "b": 225
  },
  "hsl": {
    "h": 235.973,
    "s": 71.292,
    "l": 59.02
  },
  "oklch": {
    "l": 0.53052,
    "c": 0.20799,
    "h": 273.7
  },
  "luminance": 0.13628
}

Semantic roles & 50–950 ramp

primary
#4C56E1
secondary
#E2DEA7
accent
#E23AEE
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4C56E1

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

Preview Lab → · Contrast checker → · Palette generator →

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