#4E5DAE#4E5DAE

#4E5DAE is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.7% C 0.129 H 273.1°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#4E5DAE
RGBrgb(78, 93, 174)
HSLhsl(231, 38%, 49%)
HSVhsv(231, 55%, 68%)
CMYKcmyk(55.2%, 46.6%, 0%, 31.8%)
CIE-LABlab(42.01, 18.33, -45.20)
CIE-LCHlch(42.01, 48.78, 292.07°)
OKLaboklab(50.69% 0.0069 -0.1287)
OKLCHoklch(50.69% 0.129 273.1)
XYZxyz(14.6937, 12.5034, 41.6753)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5DAE #AE9F4E
analogous
#4E8DAE #4E5DAE #6F4EAE
triadic
#4E5DAE #AE4E5D #5DAE4E
tetradic
#4E5DAE #AE4E8D #AE9F4E #4EAE6F
square
#4E5DAE #AE4E8D #AE9F4E #4EAE6F
split-complementary
#4E5DAE #AE6F4E #8DAE4E
monochromatic
#283059 #3B4684 #4E5DAE #7783C2 #A1A9D5

Accessibility & contrast

On white

6.00
#4E5DAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#4E5DAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5DAE
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5DAE#FFFFFF#000000##FFFFFF
##4E5DAE1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3867B1
Deuteranopia (green-blind)
#2C5FAC
Tritanopia (blue-blind)
#1C6F7D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4e5dae;
/* rgb */ color: rgb(78, 93, 174);
/* oklch */ color: oklch(50.7% 0.129 273.1);
Tailwind
colors: {
  custom: {
    50: '#878ac7',
    500: '#4e5dae',
    950: '#000000',
  },
}
SCSS
$custom: #4e5dae;
$custom-light: #878ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5dae",
  "rgb": {
    "r": 78,
    "g": 93,
    "b": 174
  },
  "hsl": {
    "h": 230.625,
    "s": 38.095,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50691,
    "c": 0.12893,
    "h": 273.1
  },
  "luminance": 0.12504
}

Semantic roles & 50–950 ramp

primary
#4E5DAE
secondary
#C2BB96
accent
#BC5ACE
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E5DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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