#4E5AD5#4E5AD5

#4E5AD5 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.9% C 0.187 H 273.9°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#4E5AD5
RGBrgb(78, 90, 213)
HSLhsl(235, 62%, 57%)
HSVhsv(235, 63%, 84%)
CMYKcmyk(63.4%, 57.7%, 0%, 16.5%)
CIE-LABlab(43.85, 33.37, -64.87)
CIE-LCHlch(43.85, 72.95, 297.23°)
OKLaboklab(52.91% 0.0127 -0.1866)
OKLCHoklch(52.91% 0.187 273.9)
XYZxyz(18.8043, 13.7345, 64.5980)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5AD5 #D5C94E
analogous
#4E9DD5 #4E5AD5 #864ED5
triadic
#4E5AD5 #D54E5A #5AD54E
tetradic
#4E5AD5 #D54E9D #D5C94E #4ED586
square
#4E5AD5 #D54E9D #D5C94E #4ED586
split-complementary
#4E5AD5 #D5864E #9DD54E
monochromatic
#202A88 #2C39BA #4E5AD5 #7F88E1 #B1B6EC

Accessibility & contrast

On white

5.60
#4E5AD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#4E5AD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5AD5
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5AD5#FFFFFF#000000##FFFFFF
##4E5AD51.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED9
Deuteranopia (green-blind)
#0062D3
Tritanopia (blue-blind)
#00788F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e5ad5;
/* rgb */ color: rgb(78, 90, 213);
/* oklch */ color: oklch(52.9% 0.187 273.9);
Tailwind
colors: {
  custom: {
    50: '#8d88e3',
    500: '#4e5ad5',
    950: '#000000',
  },
}
SCSS
$custom: #4e5ad5;
$custom-light: #8d88e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5ad5",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 213
  },
  "hsl": {
    "h": 234.667,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52912,
    "c": 0.18703,
    "h": 273.9
  },
  "luminance": 0.13736
}

Semantic roles & 50–950 ramp

primary
#4E5AD5
secondary
#DBD6A4
accent
#D643E5
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B15
muted
#7E7C84

Preview Lab

Preview with #4E5AD5

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

Preview Lab → · Contrast checker → · Palette generator →

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