#4E57AB#4E57AB

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

Color values

HEX#4E57AB
RGBrgb(78, 87, 171)
HSLhsl(234, 37%, 49%)
HSVhsv(234, 54%, 67%)
CMYKcmyk(54.4%, 49.1%, 0%, 32.9%)
CIE-LABlab(40.21, 21.15, -46.31)
CIE-LCHlch(40.21, 50.92, 294.55°)
OKLaboklab(49.27% 0.0134 -0.1321)
OKLCHoklch(49.27% 0.133 275.8)
XYZxyz(13.8984, 11.3754, 39.9835)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E57AB #ABA24E
analogous
#4E86AB #4E57AB #744EAB
triadic
#4E57AB #AB4E57 #57AB4E
tetradic
#4E57AB #AB4E86 #ABA24E #4EAB74
square
#4E57AB #AB4E86 #ABA24E #4EAB74
split-complementary
#4E57AB #AB744E #86AB4E
monochromatic
#282C57 #3B4281 #4E57AB #767DC0 #A0A5D4

Accessibility & contrast

On white

6.41
#4E57AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E57AB
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E57AB#FFFFFF#000000##FFFFFF
##4E57AB1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F63AE
Deuteranopia (green-blind)
#235BA9
Tritanopia (blue-blind)
#216A79
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4e57ab;
/* rgb */ color: rgb(78, 87, 171);
/* oklch */ color: oklch(49.3% 0.133 275.8);
Tailwind
colors: {
  custom: {
    50: '#8786c4',
    500: '#4e57ab',
    950: '#000000',
  },
}
SCSS
$custom: #4e57ab;
$custom-light: #8786c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e57ab",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 171
  },
  "hsl": {
    "h": 234.194,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49266,
    "c": 0.13274,
    "h": 275.8
  },
  "luminance": 0.11376
}

Semantic roles & 50–950 ramp

primary
#4E57AB
secondary
#C1BC94
accent
#C25ACD
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E57AB

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

Preview Lab → · Contrast checker → · Palette generator →

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