#4C57D8#4C57D8

#4C57D8 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.5% C 0.195 H 273.8°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#4C57D8
RGBrgb(76, 87, 216)
HSLhsl(235, 64%, 57%)
HSVhsv(235, 65%, 85%)
CMYKcmyk(64.8%, 59.7%, 0%, 15.3%)
CIE-LABlab(43.23, 35.94, -67.60)
CIE-LCHlch(43.23, 76.56, 297.99°)
OKLaboklab(52.49% 0.013 -0.1947)
OKLCHoklch(52.49% 0.195 273.8)
XYZxyz(18.7792, 13.3091, 66.5317)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C57D8 #D8CD4C
analogous
#4C9DD8 #4C57D8 #874CD8
triadic
#4C57D8 #D84C57 #57D84C
tetradic
#4C57D8 #D84C9D #D8CD4C #4CD887
square
#4C57D8 #D84C9D #D8CD4C #4CD887
split-complementary
#4C57D8 #D8874C #9DD84C
monochromatic
#1E278B #2935BE #4C57D8 #7E86E3 #B1B5EE

Accessibility & contrast

On white

5.73
#4C57D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#4C57D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C57D8
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C57D8#FFFFFF#000000##FFFFFF
##4C57D81.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDC
Deuteranopia (green-blind)
#0060D5
Tritanopia (blue-blind)
#00778F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4c57d8;
/* rgb */ color: rgb(76, 87, 216);
/* oklch */ color: oklch(52.5% 0.195 273.8);
Tailwind
colors: {
  custom: {
    50: '#8d86e5',
    500: '#4c57d8',
    950: '#000000',
  },
}
SCSS
$custom: #4c57d8;
$custom-light: #8d86e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c57d8",
  "rgb": {
    "r": 76,
    "g": 87,
    "b": 216
  },
  "hsl": {
    "h": 235.286,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52488,
    "c": 0.19516,
    "h": 273.8
  },
  "luminance": 0.13311
}

Semantic roles & 50–950 ramp

primary
#4C57D8
secondary
#DCD8A4
accent
#DA41E7
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4C57D8

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

Preview Lab → · Contrast checker → · Palette generator →

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