#4E57D9#4E57D9

#4E57D9 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.7% C 0.196 H 274.5°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#4E57D9
RGBrgb(78, 87, 217)
HSLhsl(236, 65%, 58%)
HSVhsv(236, 64%, 85%)
CMYKcmyk(64.1%, 59.9%, 0%, 14.9%)
CIE-LABlab(43.43, 36.57, -67.84)
CIE-LCHlch(43.43, 77.07, 298.33°)
OKLaboklab(52.69% 0.0152 -0.1954)
OKLCHoklch(52.69% 0.196 274.5)
XYZxyz(19.0703, 13.4442, 67.2222)
Luminance0.1345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E57D9 #D9D04E
analogous
#4E9CD9 #4E57D9 #8A4ED9
triadic
#4E57D9 #D94E57 #57D94E
tetradic
#4E57D9 #D94E9C #D9D04E #4ED98A
square
#4E57D9 #D94E9C #D9D04E #4ED98A
split-complementary
#4E57D9 #D98A4E #9CD94E
monochromatic
#1F268E #2933C0 #4E57D9 #8087E4 #B3B7EF

Accessibility & contrast

On white

5.69
#4E57D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#4E57D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E57D9
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E57D9#FFFFFF#000000##FFFFFF
##4E57D91.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDD
Deuteranopia (green-blind)
#0061D6
Tritanopia (blue-blind)
#007790
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4e57d9;
/* rgb */ color: rgb(78, 87, 217);
/* oklch */ color: oklch(52.7% 0.196 274.5);
Tailwind
colors: {
  custom: {
    50: '#8e86e6',
    500: '#4e57d9',
    950: '#000000',
  },
}
SCSS
$custom: #4e57d9;
$custom-light: #8e86e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e57d9",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 217
  },
  "hsl": {
    "h": 236.115,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.52692,
    "c": 0.19597,
    "h": 274.5
  },
  "luminance": 0.13446
}

Semantic roles & 50–950 ramp

primary
#4E57D9
secondary
#DDDAA6
accent
#DD40E8
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4E57D9

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

Preview Lab → · Contrast checker → · Palette generator →

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