#4D57EC#4D57EC

#4D57EC is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.2% C 0.221 H 273.5°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#4D57EC
RGBrgb(77, 87, 236)
HSLhsl(236, 81%, 61%)
HSVhsv(236, 67%, 93%)
CMYKcmyk(67.4%, 63.1%, 0%, 7.5%)
CIE-LABlab(44.87, 42.78, -76.27)
CIE-LCHlch(44.87, 87.44, 299.29°)
OKLaboklab(54.21% 0.0133 -0.2201)
OKLCHoklch(54.21% 0.221 273.5)
XYZxyz(21.6040, 14.4483, 80.9909)
Luminance0.1445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D57EC #ECE24D
analogous
#4DA7EC #4D57EC #934DEC
triadic
#4D57EC #EC4D57 #57EC4D
tetradic
#4D57EC #EC4DA7 #ECE24D #4DEC93
square
#4D57EC #EC4DA7 #ECE24D #4DEC93
split-complementary
#4D57EC #EC934D #A7EC4D
monochromatic
#121CAC #1825E4 #4D57EC #848BF2 #BCBFF8

Accessibility & contrast

On white

5.40
#4D57EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#4D57EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D57EC
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D57EC#FFFFFF#000000##FFFFFF
##4D57EC1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F1
Deuteranopia (green-blind)
#0063E9
Tritanopia (blue-blind)
#007D9A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4d57ec;
/* rgb */ color: rgb(77, 87, 236);
/* oklch */ color: oklch(54.2% 0.221 273.5);
Tailwind
colors: {
  custom: {
    50: '#9186f3',
    500: '#4d57ec',
    950: '#000000',
  },
}
SCSS
$custom: #4d57ec;
$custom-light: #9186f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d57ec",
  "rgb": {
    "r": 77,
    "g": 87,
    "b": 236
  },
  "hsl": {
    "h": 236.226,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.54206,
    "c": 0.22052,
    "h": 273.5
  },
  "luminance": 0.1445
}

Semantic roles & 50–950 ramp

primary
#4D57EC
secondary
#E8E4AD
accent
#D008DD
background
#F9F8FF
surface
#F2EFFE
border
#CCCAD6
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4D57EC

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

Preview Lab → · Contrast checker → · Palette generator →

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