#4E57B3#4E57B3

#4E57B3 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.8% C 0.144 H 275.7°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#4E57B3
RGBrgb(78, 87, 179)
HSLhsl(235, 40%, 50%)
HSVhsv(235, 56%, 70%)
CMYKcmyk(56.4%, 51.4%, 0%, 29.8%)
CIE-LABlab(40.72, 23.81, -50.21)
CIE-LCHlch(40.72, 55.57, 295.38°)
OKLaboklab(49.82% 0.0142 -0.1435)
OKLCHoklch(49.82% 0.144 275.7)
XYZxyz(14.6841, 11.6897, 44.1216)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E57B3 #B3AA4E
analogous
#4E8AB3 #4E57B3 #774EB3
triadic
#4E57B3 #B34E57 #57B34E
tetradic
#4E57B3 #B34E8A #B3AA4E #4EB377
square
#4E57B3 #B34E8A #B3AA4E #4EB377
split-complementary
#4E57B3 #B3774E #8AB34E
monochromatic
#282D5E #3B4289 #4E57B3 #7980C5 #A4A8D8

Accessibility & contrast

On white

6.29
#4E57B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#4E57B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E57B3
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E57B3#FFFFFF#000000##FFFFFF
##4E57B31.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2664B6
Deuteranopia (green-blind)
#155CB1
Tritanopia (blue-blind)
#156C7C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e57b3;
/* rgb */ color: rgb(78, 87, 179);
/* oklch */ color: oklch(49.8% 0.144 275.7);
Tailwind
colors: {
  custom: {
    50: '#8886ca',
    500: '#4e57b3',
    950: '#000000',
  },
}
SCSS
$custom: #4e57b3;
$custom-light: #8886ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4e57b3",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 179
  },
  "hsl": {
    "h": 234.653,
    "s": 39.921,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49818,
    "c": 0.14421,
    "h": 275.7
  },
  "luminance": 0.11691
}

Semantic roles & 50–950 ramp

primary
#4E57B3
secondary
#C5C198
accent
#C558D0
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E57B3

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

Preview Lab → · Contrast checker → · Palette generator →

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