#4E57D6#4E57D6

#4E57D6 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.5% C 0.192 H 274.6°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#4E57D6
RGBrgb(78, 87, 214)
HSLhsl(236, 62%, 57%)
HSVhsv(236, 64%, 84%)
CMYKcmyk(63.6%, 59.3%, 0%, 16.1%)
CIE-LABlab(43.20, 35.57, -66.50)
CIE-LCHlch(43.20, 75.41, 298.14°)
OKLaboklab(52.45% 0.0153 -0.1914)
OKLCHoklch(52.45% 0.192 274.6)
XYZxyz(18.6837, 13.2895, 65.1858)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E57D6 #D6CD4E
analogous
#4E9BD6 #4E57D6 #894ED6
triadic
#4E57D6 #D64E57 #57D64E
tetradic
#4E57D6 #D64E9B #D6CD4E #4ED689
square
#4E57D6 #D64E9B #D6CD4E #4ED689
split-complementary
#4E57D6 #D6894E #9BD64E
monochromatic
#20278A #2B35BB #4E57D6 #8086E2 #B1B5ED

Accessibility & contrast

On white

5.74
#4E57D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#4E57D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E57D6
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E57D6#FFFFFF#000000##FFFFFF
##4E57D61.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDA
Deuteranopia (green-blind)
#0060D3
Tritanopia (blue-blind)
#00768E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e57d6;
/* rgb */ color: rgb(78, 87, 214);
/* oklch */ color: oklch(52.5% 0.192 274.6);
Tailwind
colors: {
  custom: {
    50: '#8e86e4',
    500: '#4e57d6',
    950: '#000000',
  },
}
SCSS
$custom: #4e57d6;
$custom-light: #8e86e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e57d6",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 214
  },
  "hsl": {
    "h": 236.029,
    "s": 62.385,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52451,
    "c": 0.19204,
    "h": 274.6
  },
  "luminance": 0.13291
}

Semantic roles & 50–950 ramp

primary
#4E57D6
secondary
#DBD8A4
accent
#DB42E5
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4E57D6

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

Preview Lab → · Contrast checker → · Palette generator →

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