#4C57EB#4C57EB

#4C57EB is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.1% C 0.220 H 273.2°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#4C57EB
RGBrgb(76, 87, 235)
HSLhsl(236, 80%, 61%)
HSVhsv(236, 68%, 92%)
CMYKcmyk(67.7%, 63%, 0%, 7.8%)
CIE-LABlab(44.73, 42.31, -75.93)
CIE-LCHlch(44.73, 86.93, 299.13°)
OKLaboklab(54.06% 0.0123 -0.2192)
OKLCHoklch(54.06% 0.22 273.2)
XYZxyz(21.3791, 14.3490, 80.2241)
Luminance0.1435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C57EB #EBE04C
analogous
#4CA6EB #4C57EB #904CEB
triadic
#4C57EB #EB4C57 #57EB4C
tetradic
#4C57EB #EB4CA6 #EBE04C #4CEB90
square
#4C57EB #EB4CA6 #EBE04C #4CEB90
split-complementary
#4C57EB #EB904C #A6EB4C
monochromatic
#131DAA #1927E1 #4C57EB #838BF1 #BABEF7

Accessibility & contrast

On white

5.43
#4C57EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#4C57EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C57EB
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C57EB#FFFFFF#000000##FFFFFF
##4C57EB1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F0
Deuteranopia (green-blind)
#0063E8
Tritanopia (blue-blind)
#007D99
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4c57eb;
/* rgb */ color: rgb(76, 87, 235);
/* oklch */ color: oklch(54.1% 0.220 273.2);
Tailwind
colors: {
  custom: {
    50: '#9186f3',
    500: '#4c57eb',
    950: '#000000',
  },
}
SCSS
$custom: #4c57eb;
$custom-light: #9186f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c57eb",
  "rgb": {
    "r": 76,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 235.849,
    "s": 79.899,
    "l": 60.98
  },
  "oklch": {
    "l": 0.54063,
    "c": 0.21951,
    "h": 273.2
  },
  "luminance": 0.14351
}

Semantic roles & 50–950 ramp

primary
#4C57EB
secondary
#E7E3AB
accent
#CE09DC
background
#F9F8FF
surface
#F2EFFE
border
#CCCAD6
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4C57EB

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

Preview Lab → · Contrast checker → · Palette generator →

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