#4E57BA#4E57BA

#4E57BA is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.3% C 0.154 H 275.5°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#4E57BA
RGBrgb(78, 87, 186)
HSLhsl(235, 44%, 52%)
HSVhsv(235, 58%, 73%)
CMYKcmyk(58.1%, 53.2%, 0%, 27.1%)
CIE-LABlab(41.18, 26.16, -53.56)
CIE-LCHlch(41.18, 59.61, 296.03°)
OKLaboklab(50.32% 0.0147 -0.1534)
OKLCHoklch(50.32% 0.154 275.5)
XYZxyz(15.4101, 11.9801, 47.9452)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E57BA #BAB14E
analogous
#4E8DBA #4E57BA #7B4EBA
triadic
#4E57BA #BA4E57 #57BA4E
tetradic
#4E57BA #BA4E8D #BAB14E #4EBA7B
square
#4E57BA #BA4E8D #BAB14E #4EBA7B
split-complementary
#4E57BA #BA7B4E #8DBA4E
monochromatic
#282D66 #394092 #4E57BA #7A81CB #A6ABDC

Accessibility & contrast

On white

6.18
#4E57BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#4E57BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E57BA
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E57BA#FFFFFF#000000##FFFFFF
##4E57BA1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C66BD
Deuteranopia (green-blind)
#005DB8
Tritanopia (blue-blind)
#026E80
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e57ba;
/* rgb */ color: rgb(78, 87, 186);
/* oklch */ color: oklch(50.3% 0.154 275.5);
Tailwind
colors: {
  custom: {
    50: '#8986cf',
    500: '#4e57ba',
    950: '#000000',
  },
}
SCSS
$custom: #4e57ba;
$custom-light: #8986cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e57ba",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 186
  },
  "hsl": {
    "h": 235,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.50317,
    "c": 0.15408,
    "h": 275.5
  },
  "luminance": 0.11981
}

Semantic roles & 50–950 ramp

primary
#4E57BA
secondary
#CAC69A
accent
#C954D4
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4E57BA

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

Preview Lab → · Contrast checker → · Palette generator →

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