#4E57B1#4E57B1

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

Color values

HEX#4E57B1
RGBrgb(78, 87, 177)
HSLhsl(235, 39%, 50%)
HSVhsv(235, 56%, 69%)
CMYKcmyk(55.9%, 50.8%, 0%, 30.6%)
CIE-LABlab(40.59, 23.15, -49.24)
CIE-LCHlch(40.59, 54.41, 295.18°)
OKLaboklab(49.68% 0.014 -0.1407)
OKLCHoklch(49.68% 0.141 275.7)
XYZxyz(14.4833, 11.6094, 43.0641)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E57B1 #B1A84E
analogous
#4E89B1 #4E57B1 #764EB1
triadic
#4E57B1 #B14E57 #57B14E
tetradic
#4E57B1 #B14E89 #B1A84E #4EB176
square
#4E57B1 #B14E89 #B1A84E #4EB176
split-complementary
#4E57B1 #B1764E #89B14E
monochromatic
#292D5C #3B4287 #4E57B1 #787FC4 #A3A8D6

Accessibility & contrast

On white

6.32
#4E57B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4E57B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E57B1
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E57B1#FFFFFF#000000##FFFFFF
##4E57B11.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2964B4
Deuteranopia (green-blind)
#195CAF
Tritanopia (blue-blind)
#196B7C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e57b1;
/* rgb */ color: rgb(78, 87, 177);
/* oklch */ color: oklch(49.7% 0.141 275.7);
Tailwind
colors: {
  custom: {
    50: '#8786c9',
    500: '#4e57b1',
    950: '#000000',
  },
}
SCSS
$custom: #4e57b1;
$custom-light: #8786c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e57b1",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 177
  },
  "hsl": {
    "h": 234.545,
    "s": 38.824,
    "l": 50
  },
  "oklch": {
    "l": 0.49678,
    "c": 0.14137,
    "h": 275.7
  },
  "luminance": 0.1161
}

Semantic roles & 50–950 ramp

primary
#4E57B1
secondary
#C4C097
accent
#C459CF
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E57B1

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

Preview Lab → · Contrast checker → · Palette generator →

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