#4E57AA#4E57AA

#4E57AA is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.2% C 0.131 H 275.8°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#4E57AA
RGBrgb(78, 87, 170)
HSLhsl(234, 37%, 49%)
HSVhsv(234, 54%, 67%)
CMYKcmyk(54.1%, 48.8%, 0%, 33.3%)
CIE-LABlab(40.14, 20.82, -45.82)
CIE-LCHlch(40.14, 50.33, 294.44°)
OKLaboklab(49.2% 0.0133 -0.1306)
OKLCHoklch(49.2% 0.131 275.8)
XYZxyz(13.8035, 11.3375, 39.4834)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E57AA #AAA14E
analogous
#4E85AA #4E57AA #734EAA
triadic
#4E57AA #AA4E57 #57AA4E
tetradic
#4E57AA #AA4E85 #AAA14E #4EAA73
square
#4E57AA #AA4E85 #AAA14E #4EAA73
split-complementary
#4E57AA #AA734E #85AA4E
monochromatic
#282C56 #3B4280 #4E57AA #757DC0 #9FA4D3

Accessibility & contrast

On white

6.43
#4E57AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#4E57AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E57AA
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E57AA#FFFFFF#000000##FFFFFF
##4E57AA1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3063AD
Deuteranopia (green-blind)
#255BA8
Tritanopia (blue-blind)
#236978
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4e57aa;
/* rgb */ color: rgb(78, 87, 170);
/* oklch */ color: oklch(49.2% 0.131 275.8);
Tailwind
colors: {
  custom: {
    50: '#8686c4',
    500: '#4e57aa',
    950: '#000000',
  },
}
SCSS
$custom: #4e57aa;
$custom-light: #8686c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e57aa",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 170
  },
  "hsl": {
    "h": 234.13,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49198,
    "c": 0.13128,
    "h": 275.8
  },
  "luminance": 0.11338
}

Semantic roles & 50–950 ramp

primary
#4E57AA
secondary
#C0BC94
accent
#C25BCD
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E57AA

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

Preview Lab → · Contrast checker → · Palette generator →

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