#4E57BC#4E57BC

#4E57BC is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.5% C 0.157 H 275.4°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#4E57BC
RGBrgb(78, 87, 188)
HSLhsl(235, 45%, 52%)
HSVhsv(235, 59%, 74%)
CMYKcmyk(58.5%, 53.7%, 0%, 26.3%)
CIE-LABlab(41.32, 26.83, -54.51)
CIE-LCHlch(41.32, 60.76, 296.20°)
OKLaboklab(50.46% 0.0148 -0.1562)
OKLCHoklch(50.46% 0.157 275.4)
XYZxyz(15.6242, 12.0658, 49.0728)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E57BC #BCB34E
analogous
#4E8EBC #4E57BC #7C4EBC
triadic
#4E57BC #BC4E57 #57BC4E
tetradic
#4E57BC #BC4E8E #BCB34E #4EBC7C
square
#4E57BC #BC4E8E #BCB34E #4EBC7C
split-complementary
#4E57BC #BC7C4E #8EBC4E
monochromatic
#272D68 #384095 #4E57BC #7A81CD #A7ABDE

Accessibility & contrast

On white

6.15
#4E57BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4E57BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E57BC
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E57BC#FFFFFF#000000##FFFFFF
##4E57BC1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1866C0
Deuteranopia (green-blind)
#005DBA
Tritanopia (blue-blind)
#006E81
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e57bc;
/* rgb */ color: rgb(78, 87, 188);
/* oklch */ color: oklch(50.5% 0.157 275.4);
Tailwind
colors: {
  custom: {
    50: '#8986d1',
    500: '#4e57bc',
    950: '#000000',
  },
}
SCSS
$custom: #4e57bc;
$custom-light: #8986d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e57bc",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 188
  },
  "hsl": {
    "h": 235.091,
    "s": 45.082,
    "l": 52.157
  },
  "oklch": {
    "l": 0.50462,
    "c": 0.15687,
    "h": 275.4
  },
  "luminance": 0.12067
}

Semantic roles & 50–950 ramp

primary
#4E57BC
secondary
#CBC79B
accent
#CA53D5
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4E57BC

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

Preview Lab → · Contrast checker → · Palette generator →

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