#4E5ABE#4E5ABE

#4E5ABE is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.2% C 0.156 H 274.4°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#4E5ABE
RGBrgb(78, 90, 190)
HSLhsl(234, 46%, 53%)
HSVhsv(234, 59%, 75%)
CMYKcmyk(58.9%, 52.6%, 0%, 25.5%)
CIE-LABlab(42.23, 25.60, -54.21)
CIE-LCHlch(42.23, 59.95, 295.28°)
OKLaboklab(51.19% 0.0119 -0.1553)
OKLCHoklch(51.19% 0.156 274.4)
XYZxyz(16.0893, 12.6485, 50.2988)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5ABE #BEB24E
analogous
#4E92BE #4E5ABE #7A4EBE
triadic
#4E5ABE #BE4E5A #5ABE4E
tetradic
#4E5ABE #BE4E92 #BEB24E #4EBE7A
square
#4E5ABE #BE4E92 #BEB24E #4EBE7A
split-complementary
#4E5ABE #BE7A4E #92BE4E
monochromatic
#272E6A #384297 #4E5ABE #7B84CE #A8ADDF

Accessibility & contrast

On white

5.95
#4E5ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#4E5ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5ABE
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5ABE#FFFFFF#000000##FFFFFF
##4E5ABE1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F69C2
Deuteranopia (green-blind)
#005FBC
Tritanopia (blue-blind)
#007183
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4e5abe;
/* rgb */ color: rgb(78, 90, 190);
/* oklch */ color: oklch(51.2% 0.156 274.4);
Tailwind
colors: {
  custom: {
    50: '#8988d2',
    500: '#4e5abe',
    950: '#000000',
  },
}
SCSS
$custom: #4e5abe;
$custom-light: #8988d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5abe",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 190
  },
  "hsl": {
    "h": 233.571,
    "s": 46.281,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51187,
    "c": 0.15571,
    "h": 274.4
  },
  "luminance": 0.1265
}

Semantic roles & 50–950 ramp

primary
#4E5ABE
secondary
#CCC79C
accent
#C852D6
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0D0B14
muted
#7D7C83

Preview Lab

Preview with #4E5ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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