#4E57BB#4E57BB

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

Color values

HEX#4E57BB
RGBrgb(78, 87, 187)
HSLhsl(235, 44%, 52%)
HSVhsv(235, 58%, 73%)
CMYKcmyk(58.3%, 53.5%, 0%, 26.7%)
CIE-LABlab(41.25, 26.49, -54.04)
CIE-LCHlch(41.25, 60.18, 296.12°)
OKLaboklab(50.39% 0.0148 -0.1548)
OKLCHoklch(50.39% 0.155 275.5)
XYZxyz(15.5168, 12.0228, 48.5070)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E57BB #BBB24E
analogous
#4E8EBB #4E57BB #7C4EBB
triadic
#4E57BB #BB4E57 #57BB4E
tetradic
#4E57BB #BB4E8E #BBB24E #4EBB7C
square
#4E57BB #BB4E8E #BBB24E #4EBB7C
split-complementary
#4E57BB #BB7C4E #8EBB4E
monochromatic
#282D67 #394093 #4E57BB #7A81CC #A6ABDD

Accessibility & contrast

On white

6.17
#4E57BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E57BB
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E57BB#FFFFFF#000000##FFFFFF
##4E57BB1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A66BE
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e57bb;
/* rgb */ color: rgb(78, 87, 187);
/* oklch */ color: oklch(50.4% 0.155 275.5);
Tailwind
colors: {
  custom: {
    50: '#8986d0',
    500: '#4e57bb',
    950: '#000000',
  },
}
SCSS
$custom: #4e57bb;
$custom-light: #8986d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e57bb",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 187
  },
  "hsl": {
    "h": 235.046,
    "s": 44.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50389,
    "c": 0.15548,
    "h": 275.5
  },
  "luminance": 0.12024
}

Semantic roles & 50–950 ramp

primary
#4E57BB
secondary
#CAC69B
accent
#CA54D4
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4E57BB

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

Preview Lab → · Contrast checker → · Palette generator →

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