#4E57A5#4E57A5

#4E57A5 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.9% C 0.124 H 275.9°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#4E57A5
RGBrgb(78, 87, 165)
HSLhsl(234, 36%, 48%)
HSVhsv(234, 53%, 65%)
CMYKcmyk(52.7%, 47.3%, 0%, 35.3%)
CIE-LABlab(39.84, 19.17, -43.35)
CIE-LCHlch(39.84, 47.40, 293.86°)
OKLaboklab(48.86% 0.0127 -0.1233)
OKLCHoklch(48.86% 0.124 275.9)
XYZxyz(13.3395, 11.1519, 37.0396)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E57A5 #A59C4E
analogous
#4E82A5 #4E57A5 #704EA5
triadic
#4E57A5 #A54E57 #57A54E
tetradic
#4E57A5 #A54E82 #A59C4E #4EA570
square
#4E57A5 #A54E82 #A59C4E #4EA570
split-complementary
#4E57A5 #A5704E #82A54E
monochromatic
#272B52 #3A417B #4E57A5 #737BBD #9DA2D1

Accessibility & contrast

On white

6.50
#4E57A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#4E57A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E57A5
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E57A5#FFFFFF#000000##FFFFFF
##4E57A51.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3462A8
Deuteranopia (green-blind)
#2B5AA3
Tritanopia (blue-blind)
#286876
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4e57a5;
/* rgb */ color: rgb(78, 87, 165);
/* oklch */ color: oklch(48.9% 0.124 275.9);
Tailwind
colors: {
  custom: {
    50: '#8686c0',
    500: '#4e57a5',
    950: '#000000',
  },
}
SCSS
$custom: #4e57a5;
$custom-light: #8686c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e57a5",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 165
  },
  "hsl": {
    "h": 233.793,
    "s": 35.802,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48865,
    "c": 0.124,
    "h": 275.9
  },
  "luminance": 0.11153
}

Semantic roles & 50–950 ramp

primary
#4E57A5
secondary
#BDB991
accent
#C05CCC
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #4E57A5

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

Preview Lab → · Contrast checker → · Palette generator →

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