#4D57CE#4D57CE

#4D57CE is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.8% C 0.182 H 274.5°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#4D57CE
RGBrgb(77, 87, 206)
HSLhsl(235, 57%, 55%)
HSVhsv(235, 63%, 81%)
CMYKcmyk(62.6%, 57.8%, 0%, 19.2%)
CIE-LABlab(42.53, 32.72, -62.99)
CIE-LCHlch(42.53, 70.97, 297.45°)
OKLaboklab(51.76% 0.0142 -0.1811)
OKLCHoklch(51.76% 0.182 274.5)
XYZxyz(17.6057, 12.8489, 59.9329)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D57CE #CEC44D
analogous
#4D97CE #4D57CE #834DCE
triadic
#4D57CE #CE4D57 #57CE4D
tetradic
#4D57CE #CE4D97 #CEC44D #4DCE83
square
#4D57CE #CE4D97 #CEC44D #4DCE83
split-complementary
#4D57CE #CE834D #97CE4D
monochromatic
#232A7E #303AAE #4D57CE #7D84DB #ADB2E8

Accessibility & contrast

On white

5.88
#4D57CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#4D57CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D57CE
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D57CE#FFFFFF#000000##FFFFFF
##4D57CE1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD2
Deuteranopia (green-blind)
#005FCC
Tritanopia (blue-blind)
#00748A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4d57ce;
/* rgb */ color: rgb(77, 87, 206);
/* oklch */ color: oklch(51.8% 0.182 274.5);
Tailwind
colors: {
  custom: {
    50: '#8c86de',
    500: '#4d57ce',
    950: '#000000',
  },
}
SCSS
$custom: #4d57ce;
$custom-light: #8c86de;
$custom-dark: #000000;
JSON
{
  "hex": "#4d57ce",
  "rgb": {
    "r": 77,
    "g": 87,
    "b": 206
  },
  "hsl": {
    "h": 235.349,
    "s": 56.828,
    "l": 55.49
  },
  "oklch": {
    "l": 0.51757,
    "c": 0.18168,
    "h": 274.5
  },
  "luminance": 0.1285
}

Semantic roles & 50–950 ramp

primary
#4D57CE
secondary
#D6D2A1
accent
#D448E0
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4D57CE

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

Preview Lab → · Contrast checker → · Palette generator →

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