#4E57BE#4E57BE

#4E57BE is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.6% C 0.160 H 275.4°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#4E57BE
RGBrgb(78, 87, 190)
HSLhsl(235, 46%, 53%)
HSVhsv(235, 59%, 75%)
CMYKcmyk(58.9%, 54.2%, 0%, 25.5%)
CIE-LABlab(41.46, 27.50, -55.46)
CIE-LCHlch(41.46, 61.90, 296.38°)
OKLaboklab(50.61% 0.0149 -0.1589)
OKLCHoklch(50.61% 0.16 275.4)
XYZxyz(15.8413, 12.1526, 50.2161)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E57BE #BEB54E
analogous
#4E8FBE #4E57BE #7D4EBE
triadic
#4E57BE #BE4E57 #57BE4E
tetradic
#4E57BE #BE4E8F #BEB54E #4EBE7D
square
#4E57BE #BE4E8F #BEB54E #4EBE7D
split-complementary
#4E57BE #BE7D4E #8FBE4E
monochromatic
#272D6A #383F97 #4E57BE #7B81CE #A8ACDF

Accessibility & contrast

On white

6.12
#4E57BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#4E57BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E57BE
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E57BE#FFFFFF#000000##FFFFFF
##4E57BE1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1367C2
Deuteranopia (green-blind)
#005DBC
Tritanopia (blue-blind)
#006F82
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4e57be;
/* rgb */ color: rgb(78, 87, 190);
/* oklch */ color: oklch(50.6% 0.160 275.4);
Tailwind
colors: {
  custom: {
    50: '#8a86d2',
    500: '#4e57be',
    950: '#000000',
  },
}
SCSS
$custom: #4e57be;
$custom-light: #8a86d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e57be",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 190
  },
  "hsl": {
    "h": 235.179,
    "s": 46.281,
    "l": 52.549
  },
  "oklch": {
    "l": 0.50609,
    "c": 0.15965,
    "h": 275.4
  },
  "luminance": 0.12154
}

Semantic roles & 50–950 ramp

primary
#4E57BE
secondary
#CCC89C
accent
#CB52D6
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0D0B14
muted
#7D7C83

Preview Lab

Preview with #4E57BE

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

Preview Lab → · Contrast checker → · Palette generator →

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