#4E57A4#4E57A4

#4E57A4 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.8% C 0.123 H 275.9°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#4E57A4
RGBrgb(78, 87, 164)
HSLhsl(234, 36%, 47%)
HSVhsv(234, 52%, 64%)
CMYKcmyk(52.4%, 47%, 0%, 35.7%)
CIE-LABlab(39.77, 18.84, -42.85)
CIE-LCHlch(39.77, 46.81, 293.74°)
OKLaboklab(48.8% 0.0125 -0.1219)
OKLCHoklch(48.8% 0.123 275.9)
XYZxyz(13.2488, 11.1156, 36.5622)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E57A4 #A49B4E
analogous
#4E82A4 #4E57A4 #704EA4
triadic
#4E57A4 #A44E57 #57A44E
tetradic
#4E57A4 #A44E82 #A49B4E #4EA470
square
#4E57A4 #A44E82 #A49B4E #4EA470
split-complementary
#4E57A4 #A4704E #82A44E
monochromatic
#272B51 #3A417B #4E57A4 #737BBC #9CA2D0

Accessibility & contrast

On white

6.52
#4E57A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#4E57A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E57A4
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E57A4#FFFFFF#000000##FFFFFF
##4E57A41.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3561A7
Deuteranopia (green-blind)
#2C5AA2
Tritanopia (blue-blind)
#296875
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4e57a4;
/* rgb */ color: rgb(78, 87, 164);
/* oklch */ color: oklch(48.8% 0.123 275.9);
Tailwind
colors: {
  custom: {
    50: '#8686bf',
    500: '#4e57a4',
    950: '#000000',
  },
}
SCSS
$custom: #4e57a4;
$custom-light: #8686bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e57a4",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 164
  },
  "hsl": {
    "h": 233.721,
    "s": 35.537,
    "l": 47.451
  },
  "oklch": {
    "l": 0.488,
    "c": 0.12252,
    "h": 275.9
  },
  "luminance": 0.11116
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E57A4

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

Preview Lab → · Contrast checker → · Palette generator →

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