#4C56EB#4C56EB

#4C56EB is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 53.9% C 0.221 H 273.4°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#4C56EB
RGBrgb(76, 86, 235)
HSLhsl(236, 80%, 61%)
HSVhsv(236, 68%, 92%)
CMYKcmyk(67.7%, 63.4%, 0%, 7.8%)
CIE-LABlab(44.50, 42.91, -76.31)
CIE-LCHlch(44.50, 87.55, 299.35°)
OKLaboklab(53.9% 0.013 -0.2203)
OKLCHoklch(53.9% 0.221 273.4)
XYZxyz(21.2987, 14.1882, 80.1973)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C56EB #EBE14C
analogous
#4CA6EB #4C56EB #914CEB
triadic
#4C56EB #EB4C56 #56EB4C
tetradic
#4C56EB #EB4CA6 #EBE14C #4CEB91
square
#4C56EB #EB4CA6 #EBE14C #4CEB91
split-complementary
#4C56EB #EB914C #A6EB4C
monochromatic
#131CAA #1926E1 #4C56EB #838AF1 #BABEF7

Accessibility & contrast

On white

5.47
#4C56EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#4C56EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C56EB
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C56EB#FFFFFF#000000##FFFFFF
##4C56EB1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F0
Deuteranopia (green-blind)
#0062E8
Tritanopia (blue-blind)
#007D99
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4c56eb;
/* rgb */ color: rgb(76, 86, 235);
/* oklch */ color: oklch(53.9% 0.221 273.4);
Tailwind
colors: {
  custom: {
    50: '#9186f3',
    500: '#4c56eb',
    950: '#000000',
  },
}
SCSS
$custom: #4c56eb;
$custom-light: #9186f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c56eb",
  "rgb": {
    "r": 76,
    "g": 86,
    "b": 235
  },
  "hsl": {
    "h": 236.226,
    "s": 79.899,
    "l": 60.98
  },
  "oklch": {
    "l": 0.53896,
    "c": 0.22065,
    "h": 273.4
  },
  "luminance": 0.1419
}

Semantic roles & 50–950 ramp

primary
#4C56EB
secondary
#E7E4AB
accent
#CF09DC
background
#F9F8FF
surface
#F2EFFE
border
#CCCAD6
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4C56EB

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

Preview Lab → · Contrast checker → · Palette generator →

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