#4E57A6#4E57A6

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

Color values

HEX#4E57A6
RGBrgb(78, 87, 166)
HSLhsl(234, 36%, 48%)
HSVhsv(234, 53%, 65%)
CMYKcmyk(53%, 47.6%, 0%, 34.9%)
CIE-LABlab(39.90, 19.50, -43.84)
CIE-LCHlch(39.90, 47.99, 293.98°)
OKLaboklab(48.93% 0.0128 -0.1248)
OKLCHoklch(48.93% 0.125 275.9)
XYZxyz(13.4308, 11.1884, 37.5209)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E57A6 #A69D4E
analogous
#4E83A6 #4E57A6 #714EA6
triadic
#4E57A6 #A64E57 #57A64E
tetradic
#4E57A6 #A64E83 #A69D4E #4EA671
square
#4E57A6 #A64E83 #A69D4E #4EA671
split-complementary
#4E57A6 #A6714E #83A64E
monochromatic
#272B53 #3A417C #4E57A6 #747BBE #9DA3D1

Accessibility & contrast

On white

6.49
#4E57A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#4E57A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E57A6
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E57A6#FFFFFF#000000##FFFFFF
##4E57A61.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3462A9
Deuteranopia (green-blind)
#2A5BA4
Tritanopia (blue-blind)
#276876
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4e57a6;
/* rgb */ color: rgb(78, 87, 166);
/* oklch */ color: oklch(48.9% 0.125 275.9);
Tailwind
colors: {
  custom: {
    50: '#8686c1',
    500: '#4e57a6',
    950: '#000000',
  },
}
SCSS
$custom: #4e57a6;
$custom-light: #8686c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e57a6",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 166
  },
  "hsl": {
    "h": 233.864,
    "s": 36.066,
    "l": 47.843
  },
  "oklch": {
    "l": 0.48931,
    "c": 0.12546,
    "h": 275.9
  },
  "luminance": 0.11189
}

Semantic roles & 50–950 ramp

primary
#4E57A6
secondary
#BEB992
accent
#C15CCC
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #4E57A6

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

Preview Lab → · Contrast checker → · Palette generator →

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