#4E57AC#4E57AC

#4E57AC is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.3% C 0.134 H 275.8°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#4E57AC
RGBrgb(78, 87, 172)
HSLhsl(234, 38%, 49%)
HSVhsv(234, 55%, 67%)
CMYKcmyk(54.7%, 49.4%, 0%, 32.5%)
CIE-LABlab(40.27, 21.48, -46.80)
CIE-LCHlch(40.27, 51.50, 294.66°)
OKLaboklab(49.33% 0.0135 -0.1335)
OKLCHoklch(49.33% 0.134 275.8)
XYZxyz(13.9941, 11.4137, 40.4874)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E57AC #ACA34E
analogous
#4E86AC #4E57AC #744EAC
triadic
#4E57AC #AC4E57 #57AC4E
tetradic
#4E57AC #AC4E86 #ACA34E #4EAC74
square
#4E57AC #AC4E86 #ACA34E #4EAC74
split-complementary
#4E57AC #AC744E #86AC4E
monochromatic
#282C58 #3B4282 #4E57AC #767DC1 #A0A5D4

Accessibility & contrast

On white

6.40
#4E57AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#4E57AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E57AC
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E57AC#FFFFFF#000000##FFFFFF
##4E57AC1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E63AF
Deuteranopia (green-blind)
#225BAA
Tritanopia (blue-blind)
#206A79
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4e57ac;
/* rgb */ color: rgb(78, 87, 172);
/* oklch */ color: oklch(49.3% 0.134 275.8);
Tailwind
colors: {
  custom: {
    50: '#8786c5',
    500: '#4e57ac',
    950: '#000000',
  },
}
SCSS
$custom: #4e57ac;
$custom-light: #8786c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e57ac",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 172
  },
  "hsl": {
    "h": 234.255,
    "s": 37.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.49334,
    "c": 0.13418,
    "h": 275.8
  },
  "luminance": 0.11415
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E57AC

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

Preview Lab → · Contrast checker → · Palette generator →

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