#4E57B5#4E57B5

#4E57B5 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.0% C 0.147 H 275.6°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#4E57B5
RGBrgb(78, 87, 181)
HSLhsl(235, 41%, 51%)
HSVhsv(235, 57%, 71%)
CMYKcmyk(56.9%, 51.9%, 0%, 29%)
CIE-LABlab(40.85, 24.48, -51.17)
CIE-LCHlch(40.85, 56.73, 295.57°)
OKLaboklab(49.96% 0.0144 -0.1463)
OKLCHoklch(49.96% 0.147 275.6)
XYZxyz(14.8879, 11.7712, 45.1947)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E57B5 #B5AC4E
analogous
#4E8AB5 #4E57B5 #784EB5
triadic
#4E57B5 #B54E57 #57B54E
tetradic
#4E57B5 #B54E8A #B5AC4E #4EB578
square
#4E57B5 #B54E8A #B5AC4E #4EB578
split-complementary
#4E57B5 #B5784E #8AB54E
monochromatic
#282D60 #3A418B #4E57B5 #7980C7 #A4A9D9

Accessibility & contrast

On white

6.26
#4E57B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#4E57B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E57B5
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E57B5#FFFFFF#000000##FFFFFF
##4E57B51.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2465B8
Deuteranopia (green-blind)
#0F5CB3
Tritanopia (blue-blind)
#116C7D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e57b5;
/* rgb */ color: rgb(78, 87, 181);
/* oklch */ color: oklch(50.0% 0.147 275.6);
Tailwind
colors: {
  custom: {
    50: '#8886cc',
    500: '#4e57b5',
    950: '#000000',
  },
}
SCSS
$custom: #4e57b5;
$custom-light: #8886cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e57b5",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 181
  },
  "hsl": {
    "h": 234.757,
    "s": 41.036,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49959,
    "c": 0.14705,
    "h": 275.6
  },
  "luminance": 0.11772
}

Semantic roles & 50–950 ramp

primary
#4E57B5
secondary
#C6C299
accent
#C657D1
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E57B5

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

Preview Lab → · Contrast checker → · Palette generator →

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