#4E57A3#4E57A3

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

Color values

HEX#4E57A3
RGBrgb(78, 87, 163)
HSLhsl(234, 35%, 47%)
HSVhsv(234, 52%, 64%)
CMYKcmyk(52.1%, 46.6%, 0%, 36.1%)
CIE-LABlab(39.71, 18.51, -42.35)
CIE-LCHlch(39.71, 46.22, 293.61°)
OKLaboklab(48.73% 0.0124 -0.1204)
OKLCHoklch(48.73% 0.121 275.9)
XYZxyz(13.1589, 11.0796, 36.0884)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E57A3 #A39A4E
analogous
#4E82A3 #4E57A3 #704EA3
triadic
#4E57A3 #A34E57 #57A34E
tetradic
#4E57A3 #A34E82 #A39A4E #4EA370
square
#4E57A3 #A34E82 #A39A4E #4EA370
split-complementary
#4E57A3 #A3704E #82A34E
monochromatic
#262B50 #3A417A #4E57A3 #727ABC #9CA1D0

Accessibility & contrast

On white

6.53
#4E57A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E57A3
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E57A3#FFFFFF#000000##FFFFFF
##4E57A31.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3661A6
Deuteranopia (green-blind)
#2D5AA1
Tritanopia (blue-blind)
#2A6775
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4e57a3;
/* rgb */ color: rgb(78, 87, 163);
/* oklch */ color: oklch(48.7% 0.121 275.9);
Tailwind
colors: {
  custom: {
    50: '#8586bf',
    500: '#4e57a3',
    950: '#000000',
  },
}
SCSS
$custom: #4e57a3;
$custom-light: #8586bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e57a3",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 163
  },
  "hsl": {
    "h": 233.647,
    "s": 35.27,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48734,
    "c": 0.12105,
    "h": 275.9
  },
  "luminance": 0.1108
}

Semantic roles & 50–950 ramp

primary
#4E57A3
secondary
#BCB891
accent
#C05CCB
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #4E57A3

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

Preview Lab → · Contrast checker → · Palette generator →

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