#4E5CAE#4E5CAE

#4E5CAE is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.5% C 0.130 H 273.5°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#4E5CAE
RGBrgb(78, 92, 174)
HSLhsl(231, 38%, 49%)
HSVhsv(231, 55%, 68%)
CMYKcmyk(55.2%, 47.1%, 0%, 31.8%)
CIE-LABlab(41.73, 18.96, -45.64)
CIE-LCHlch(41.73, 49.42, 292.56°)
OKLaboklab(50.49% 0.0081 -0.13)
OKLCHoklch(50.49% 0.13 273.5)
XYZxyz(14.6065, 12.3290, 41.6462)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5CAE #AEA04E
analogous
#4E8CAE #4E5CAE #704EAE
triadic
#4E5CAE #AE4E5C #5CAE4E
tetradic
#4E5CAE #AE4E8C #AEA04E #4EAE70
square
#4E5CAE #AE4E8C #AEA04E #4EAE70
split-complementary
#4E5CAE #AE704E #8CAE4E
monochromatic
#282F59 #3B4684 #4E5CAE #7782C2 #A1A9D5

Accessibility & contrast

On white

6.06
#4E5CAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#4E5CAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5CAE
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5CAE#FFFFFF#000000##FFFFFF
##4E5CAE1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3667B1
Deuteranopia (green-blind)
#2A5FAC
Tritanopia (blue-blind)
#1C6E7C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4e5cae;
/* rgb */ color: rgb(78, 92, 174);
/* oklch */ color: oklch(50.5% 0.130 273.5);
Tailwind
colors: {
  custom: {
    50: '#8789c7',
    500: '#4e5cae',
    950: '#000000',
  },
}
SCSS
$custom: #4e5cae;
$custom-light: #8789c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5cae",
  "rgb": {
    "r": 78,
    "g": 92,
    "b": 174
  },
  "hsl": {
    "h": 231.25,
    "s": 38.095,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50485,
    "c": 0.13027,
    "h": 273.5
  },
  "luminance": 0.1233
}

Semantic roles & 50–950 ramp

primary
#4E5CAE
secondary
#C2BC96
accent
#BD5ACE
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E5CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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