#4E57D4#4E57D4

#4E57D4 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.3% C 0.189 H 274.6°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#4E57D4
RGBrgb(78, 87, 212)
HSLhsl(236, 61%, 57%)
HSVhsv(236, 63%, 83%)
CMYKcmyk(63.2%, 59%, 0%, 16.9%)
CIE-LABlab(43.05, 34.89, -65.60)
CIE-LCHlch(43.05, 74.30, 298.01°)
OKLaboklab(52.29% 0.0153 -0.1888)
OKLCHoklch(52.29% 0.189 274.6)
XYZxyz(18.4298, 13.1880, 63.8489)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E57D4 #D4CB4E
analogous
#4E9AD4 #4E57D4 #884ED4
triadic
#4E57D4 #D44E57 #57D44E
tetradic
#4E57D4 #D44E9A #D4CB4E #4ED488
square
#4E57D4 #D44E9A #D4CB4E #4ED488
split-complementary
#4E57D4 #D4884E #9AD44E
monochromatic
#212887 #2D36B8 #4E57D4 #7F86E0 #B0B4EC

Accessibility & contrast

On white

5.77
#4E57D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#4E57D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E57D4
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E57D4#FFFFFF#000000##FFFFFF
##4E57D41.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD8
Deuteranopia (green-blind)
#0060D2
Tritanopia (blue-blind)
#00768D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e57d4;
/* rgb */ color: rgb(78, 87, 212);
/* oklch */ color: oklch(52.3% 0.189 274.6);
Tailwind
colors: {
  custom: {
    50: '#8d86e2',
    500: '#4e57d4',
    950: '#000000',
  },
}
SCSS
$custom: #4e57d4;
$custom-light: #8d86e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e57d4",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 212
  },
  "hsl": {
    "h": 235.97,
    "s": 60.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52292,
    "c": 0.18941,
    "h": 274.6
  },
  "luminance": 0.1319
}

Semantic roles & 50–950 ramp

primary
#4E57D4
secondary
#DAD7A4
accent
#D944E4
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B15
muted
#7E7C84

Preview Lab

Preview with #4E57D4

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

Preview Lab → · Contrast checker → · Palette generator →

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