#4E57CF#4E57CF

#4E57CF is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.9% C 0.183 H 274.8°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#4E57CF
RGBrgb(78, 87, 207)
HSLhsl(236, 57%, 56%)
HSVhsv(236, 62%, 81%)
CMYKcmyk(62.3%, 58%, 0%, 18.8%)
CIE-LABlab(42.67, 33.22, -63.34)
CIE-LCHlch(42.67, 71.52, 297.67°)
OKLaboklab(51.9% 0.0153 -0.1821)
OKLCHoklch(51.9% 0.183 274.8)
XYZxyz(17.8089, 12.9396, 60.5785)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E57CF #CFC64E
analogous
#4E97CF #4E57CF #854ECF
triadic
#4E57CF #CF4E57 #57CF4E
tetradic
#4E57CF #CF4E97 #CFC64E #4ECF85
square
#4E57CF #CF4E97 #CFC64E #4ECF85
split-complementary
#4E57CF #CF854E #97CF4E
monochromatic
#232980 #3039B0 #4E57CF #7E85DC #AEB2E9

Accessibility & contrast

On white

5.85
#4E57CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#4E57CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E57CF
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E57CF#FFFFFF#000000##FFFFFF
##4E57CF1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#005FCD
Tritanopia (blue-blind)
#00748A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4e57cf;
/* rgb */ color: rgb(78, 87, 207);
/* oklch */ color: oklch(51.9% 0.183 274.8);
Tailwind
colors: {
  custom: {
    50: '#8d86df',
    500: '#4e57cf',
    950: '#000000',
  },
}
SCSS
$custom: #4e57cf;
$custom-light: #8d86df;
$custom-dark: #000000;
JSON
{
  "hex": "#4e57cf",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 207
  },
  "hsl": {
    "h": 235.814,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.51898,
    "c": 0.18277,
    "h": 274.8
  },
  "luminance": 0.12941
}

Semantic roles & 50–950 ramp

primary
#4E57CF
secondary
#D7D3A2
accent
#D647E1
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4E57CF

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

Preview Lab → · Contrast checker → · Palette generator →

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