#4E57B2#4E57B2

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

Color values

HEX#4E57B2
RGBrgb(78, 87, 178)
HSLhsl(235, 39%, 50%)
HSVhsv(235, 56%, 70%)
CMYKcmyk(56.2%, 51.1%, 0%, 30.2%)
CIE-LABlab(40.65, 23.48, -49.73)
CIE-LCHlch(40.65, 54.99, 295.28°)
OKLaboklab(49.75% 0.0141 -0.1421)
OKLCHoklch(49.75% 0.143 275.7)
XYZxyz(14.5834, 11.6494, 43.5909)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E57B2 #B2A94E
analogous
#4E89B2 #4E57B2 #774EB2
triadic
#4E57B2 #B24E57 #57B24E
tetradic
#4E57B2 #B24E89 #B2A94E #4EB277
square
#4E57B2 #B24E89 #B2A94E #4EB277
split-complementary
#4E57B2 #B2774E #89B24E
monochromatic
#292D5D #3B4288 #4E57B2 #797FC5 #A3A8D7

Accessibility & contrast

On white

6.31
#4E57B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#4E57B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E57B2
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E57B2#FFFFFF#000000##FFFFFF
##4E57B21.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2764B5
Deuteranopia (green-blind)
#175CB0
Tritanopia (blue-blind)
#176B7C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e57b2;
/* rgb */ color: rgb(78, 87, 178);
/* oklch */ color: oklch(49.7% 0.143 275.7);
Tailwind
colors: {
  custom: {
    50: '#8886ca',
    500: '#4e57b2',
    950: '#000000',
  },
}
SCSS
$custom: #4e57b2;
$custom-light: #8886ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4e57b2",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 178
  },
  "hsl": {
    "h": 234.6,
    "s": 39.37,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49748,
    "c": 0.14279,
    "h": 275.7
  },
  "luminance": 0.1165
}

Semantic roles & 50–950 ramp

primary
#4E57B2
secondary
#C4C098
accent
#C559CF
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E57B2

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

Preview Lab → · Contrast checker → · Palette generator →

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