#4E57CA#4E57CA

#4E57CA is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.5% C 0.176 H 275.0°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#4E57CA
RGBrgb(78, 87, 202)
HSLhsl(236, 54%, 55%)
HSVhsv(236, 61%, 79%)
CMYKcmyk(61.4%, 56.9%, 0%, 20.8%)
CIE-LABlab(42.31, 31.53, -61.05)
CIE-LCHlch(42.31, 68.71, 297.32°)
OKLaboklab(51.51% 0.0153 -0.1754)
OKLCHoklch(51.51% 0.176 275)
XYZxyz(17.2073, 12.6990, 57.4100)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E57CA #CAC14E
analogous
#4E95CA #4E57CA #834ECA
triadic
#4E57CA #CA4E57 #57CA4E
tetradic
#4E57CA #CA4E95 #CAC14E #4ECA83
square
#4E57CA #CA4E95 #CAC14E #4ECA83
split-complementary
#4E57CA #CA834E #95CA4E
monochromatic
#242A79 #323BA8 #4E57CA #7D84D8 #ACB0E6

Accessibility & contrast

On white

5.93
#4E57CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#4E57CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E57CA
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E57CA#FFFFFF#000000##FFFFFF
##4E57CA1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#005FC8
Tritanopia (blue-blind)
#007388
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4e57ca;
/* rgb */ color: rgb(78, 87, 202);
/* oklch */ color: oklch(51.5% 0.176 275.0);
Tailwind
colors: {
  custom: {
    50: '#8c86db',
    500: '#4e57ca',
    950: '#000000',
  },
}
SCSS
$custom: #4e57ca;
$custom-light: #8c86db;
$custom-dark: #000000;
JSON
{
  "hex": "#4e57ca",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 202
  },
  "hsl": {
    "h": 235.645,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.51511,
    "c": 0.17607,
    "h": 275
  },
  "luminance": 0.127
}

Semantic roles & 50–950 ramp

primary
#4E57CA
secondary
#D4D0A0
accent
#D34BDD
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4E57CA

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

Preview Lab → · Contrast checker → · Palette generator →

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