#4E57B4#4E57B4

#4E57B4 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.9% C 0.146 H 275.6°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#4E57B4
RGBrgb(78, 87, 180)
HSLhsl(235, 40%, 51%)
HSVhsv(235, 57%, 71%)
CMYKcmyk(56.7%, 51.7%, 0%, 29.4%)
CIE-LABlab(40.78, 24.15, -50.69)
CIE-LCHlch(40.78, 56.15, 295.47°)
OKLaboklab(49.89% 0.0143 -0.1449)
OKLCHoklch(49.89% 0.146 275.6)
XYZxyz(14.7856, 11.7303, 44.6562)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E57B4 #B4AB4E
analogous
#4E8AB4 #4E57B4 #784EB4
triadic
#4E57B4 #B44E57 #57B44E
tetradic
#4E57B4 #B44E8A #B4AB4E #4EB478
square
#4E57B4 #B44E8A #B4AB4E #4EB478
split-complementary
#4E57B4 #B4784E #8AB44E
monochromatic
#282D5F #3B428A #4E57B4 #7980C6 #A4A9D8

Accessibility & contrast

On white

6.28
#4E57B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#4E57B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E57B4
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E57B4#FFFFFF#000000##FFFFFF
##4E57B41.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2565B7
Deuteranopia (green-blind)
#125CB2
Tritanopia (blue-blind)
#136C7D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e57b4;
/* rgb */ color: rgb(78, 87, 180);
/* oklch */ color: oklch(49.9% 0.146 275.6);
Tailwind
colors: {
  custom: {
    50: '#8886cb',
    500: '#4e57b4',
    950: '#000000',
  },
}
SCSS
$custom: #4e57b4;
$custom-light: #8886cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e57b4",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 180
  },
  "hsl": {
    "h": 234.706,
    "s": 40.476,
    "l": 50.588
  },
  "oklch": {
    "l": 0.49888,
    "c": 0.14563,
    "h": 275.6
  },
  "luminance": 0.11731
}

Semantic roles & 50–950 ramp

primary
#4E57B4
secondary
#C6C298
accent
#C657D0
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E57B4

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

Preview Lab → · Contrast checker → · Palette generator →

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