#4C57E5#4C57E5

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

Color values

HEX#4C57E5
RGBrgb(76, 87, 229)
HSLhsl(236, 75%, 60%)
HSVhsv(236, 67%, 90%)
CMYKcmyk(66.8%, 62%, 0%, 10.2%)
CIE-LABlab(44.24, 40.31, -73.34)
CIE-LCHlch(44.24, 83.68, 298.80°)
OKLaboklab(53.56% 0.0126 -0.2115)
OKLCHoklch(53.56% 0.212 273.4)
XYZxyz(20.5268, 14.0081, 75.7356)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C57E5 #E5DA4C
analogous
#4CA4E5 #4C57E5 #8D4CE5
triadic
#4C57E5 #E54C57 #57E54C
tetradic
#4C57E5 #E54CA4 #E5DA4C #4CE58D
square
#4C57E5 #E54CA4 #E5DA4C #4CE58D
split-complementary
#4C57E5 #E58D4C #A4E54C
monochromatic
#17219F #1F2CD5 #4C57E5 #8189ED #B7BBF5

Accessibility & contrast

On white

5.52
#4C57E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#4C57E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C57E5
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C57E5#FFFFFF#000000##FFFFFF
##4C57E51.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EA
Deuteranopia (green-blind)
#0062E2
Tritanopia (blue-blind)
#007B96
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4c57e5;
/* rgb */ color: rgb(76, 87, 229);
/* oklch */ color: oklch(53.6% 0.212 273.4);
Tailwind
colors: {
  custom: {
    50: '#9086ee',
    500: '#4c57e5',
    950: '#000000',
  },
}
SCSS
$custom: #4c57e5;
$custom-light: #9086ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4c57e5",
  "rgb": {
    "r": 76,
    "g": 87,
    "b": 229
  },
  "hsl": {
    "h": 235.686,
    "s": 74.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53557,
    "c": 0.21192,
    "h": 273.4
  },
  "luminance": 0.1401
}

Semantic roles & 50–950 ramp

primary
#4C57E5
secondary
#E4E0A9
accent
#E437F1
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4C57E5

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

Preview Lab → · Contrast checker → · Palette generator →

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