#4C57E7#4C57E7

#4C57E7 is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 53.7% C 0.214 H 273.3°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#4C57E7
RGBrgb(76, 87, 231)
HSLhsl(236, 76%, 60%)
HSVhsv(236, 67%, 91%)
CMYKcmyk(67.1%, 62.3%, 0%, 9.4%)
CIE-LABlab(44.41, 40.98, -74.20)
CIE-LCHlch(44.41, 84.77, 298.91°)
OKLaboklab(53.73% 0.0125 -0.2141)
OKLCHoklch(53.73% 0.214 273.3)
XYZxyz(20.8077, 14.1205, 77.2148)
Luminance0.1412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C57E7 #E7DC4C
analogous
#4CA4E7 #4C57E7 #8E4CE7
triadic
#4C57E7 #E74C57 #57E74C
tetradic
#4C57E7 #E74CA4 #E7DC4C #4CE78E
square
#4C57E7 #E74CA4 #E7DC4C #4CE78E
split-complementary
#4C57E7 #E78E4C #A4E74C
monochromatic
#1620A3 #1D2AD9 #4C57E7 #828AEE #B8BCF5

Accessibility & contrast

On white

5.49
#4C57E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#4C57E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C57E7
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C57E7#FFFFFF#000000##FFFFFF
##4C57E71.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EC
Deuteranopia (green-blind)
#0062E4
Tritanopia (blue-blind)
#007C97
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4c57e7;
/* rgb */ color: rgb(76, 87, 231);
/* oklch */ color: oklch(53.7% 0.214 273.3);
Tailwind
colors: {
  custom: {
    50: '#9086f0',
    500: '#4c57e7',
    950: '#000000',
  },
}
SCSS
$custom: #4c57e7;
$custom-light: #9086f0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c57e7",
  "rgb": {
    "r": 76,
    "g": 87,
    "b": 231
  },
  "hsl": {
    "h": 235.742,
    "s": 76.355,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53725,
    "c": 0.21446,
    "h": 273.3
  },
  "luminance": 0.14122
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C57E7

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

Preview Lab → · Contrast checker → · Palette generator →

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