#4E57AD#4E57AD

#4E57AD is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.4% C 0.136 H 275.8°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#4E57AD
RGBrgb(78, 87, 173)
HSLhsl(234, 38%, 49%)
HSVhsv(234, 55%, 68%)
CMYKcmyk(54.9%, 49.7%, 0%, 32.2%)
CIE-LABlab(40.33, 21.82, -47.29)
CIE-LCHlch(40.33, 52.08, 294.76°)
OKLaboklab(49.4% 0.0136 -0.1349)
OKLCHoklch(49.4% 0.136 275.8)
XYZxyz(14.0905, 11.4523, 40.9951)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E57AD #ADA44E
analogous
#4E87AD #4E57AD #754EAD
triadic
#4E57AD #AD4E57 #57AD4E
tetradic
#4E57AD #AD4E87 #ADA44E #4EAD75
square
#4E57AD #AD4E87 #ADA44E #4EAD75
split-complementary
#4E57AD #AD754E #87AD4E
monochromatic
#282D59 #3B4283 #4E57AD #777EC2 #A1A6D5

Accessibility & contrast

On white

6.38
#4E57AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#4E57AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E57AD
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E57AD#FFFFFF#000000##FFFFFF
##4E57AD1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D63B0
Deuteranopia (green-blind)
#205BAB
Tritanopia (blue-blind)
#1F6A7A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4e57ad;
/* rgb */ color: rgb(78, 87, 173);
/* oklch */ color: oklch(49.4% 0.136 275.8);
Tailwind
colors: {
  custom: {
    50: '#8786c6',
    500: '#4e57ad',
    950: '#000000',
  },
}
SCSS
$custom: #4e57ad;
$custom-light: #8786c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e57ad",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 173
  },
  "hsl": {
    "h": 234.316,
    "s": 37.849,
    "l": 49.216
  },
  "oklch": {
    "l": 0.49402,
    "c": 0.13563,
    "h": 275.8
  },
  "luminance": 0.11453
}

Semantic roles & 50–950 ramp

primary
#4E57AD
secondary
#C2BD95
accent
#C35ACE
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E57AD

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

Preview Lab → · Contrast checker → · Palette generator →

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