#4D57E1#4D57E1

#4D57E1 is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.3% C 0.207 H 273.8°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#4D57E1
RGBrgb(77, 87, 225)
HSLhsl(236, 71%, 59%)
HSVhsv(236, 66%, 88%)
CMYKcmyk(65.8%, 61.3%, 0%, 11.8%)
CIE-LABlab(43.99, 39.11, -71.49)
CIE-LCHlch(43.99, 81.48, 298.68°)
OKLaboklab(53.28% 0.0139 -0.2061)
OKLCHoklch(53.28% 0.207 273.8)
XYZxyz(20.0549, 13.8286, 72.8319)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D57E1 #E1D74D
analogous
#4DA1E1 #4D57E1 #8D4DE1
triadic
#4D57E1 #E14D57 #57E14D
tetradic
#4D57E1 #E14DA1 #E1D74D #4DE18D
square
#4D57E1 #E14DA1 #E1D74D #4DE18D
split-complementary
#4D57E1 #E18D4D #A1E14D
monochromatic
#1A239A #232ECE #4D57E1 #8188EA #B6BAF3

Accessibility & contrast

On white

5.58
#4D57E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#4D57E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D57E1
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D57E1#FFFFFF#000000##FFFFFF
##4D57E11.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE5
Deuteranopia (green-blind)
#0061DE
Tritanopia (blue-blind)
#007A94
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4d57e1;
/* rgb */ color: rgb(77, 87, 225);
/* oklch */ color: oklch(53.3% 0.207 273.8);
Tailwind
colors: {
  custom: {
    50: '#8f86eb',
    500: '#4d57e1',
    950: '#000000',
  },
}
SCSS
$custom: #4d57e1;
$custom-light: #8f86eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d57e1",
  "rgb": {
    "r": 77,
    "g": 87,
    "b": 225
  },
  "hsl": {
    "h": 235.946,
    "s": 71.154,
    "l": 59.216
  },
  "oklch": {
    "l": 0.53284,
    "c": 0.20656,
    "h": 273.8
  },
  "luminance": 0.1383
}

Semantic roles & 50–950 ramp

primary
#4D57E1
secondary
#E2DEA8
accent
#E23AEE
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4D57E1

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

Preview Lab → · Contrast checker → · Palette generator →

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