#4E5EAE#4E5EAE

#4E5EAE is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.9% C 0.128 H 272.6°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#4E5EAE
RGBrgb(78, 94, 174)
HSLhsl(230, 38%, 49%)
HSVhsv(230, 55%, 68%)
CMYKcmyk(55.2%, 46%, 0%, 31.8%)
CIE-LABlab(42.28, 17.69, -44.77)
CIE-LCHlch(42.28, 48.14, 291.56°)
OKLaboklab(50.9% 0.0058 -0.1274)
OKLCHoklch(50.9% 0.128 272.6)
XYZxyz(14.7821, 12.6801, 41.7047)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5EAE #AE9E4E
analogous
#4E8EAE #4E5EAE #6E4EAE
triadic
#4E5EAE #AE4E5E #5EAE4E
tetradic
#4E5EAE #AE4E8E #AE9E4E #4EAE6E
square
#4E5EAE #AE4E8E #AE9E4E #4EAE6E
split-complementary
#4E5EAE #AE6E4E #8EAE4E
monochromatic
#283059 #3B4784 #4E5EAE #7784C2 #A1AAD5

Accessibility & contrast

On white

5.94
#4E5EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#4E5EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5EAE
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5EAE#FFFFFF#000000##FFFFFF
##4E5EAE1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A68B1
Deuteranopia (green-blind)
#2E60AC
Tritanopia (blue-blind)
#1C707D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4e5eae;
/* rgb */ color: rgb(78, 94, 174);
/* oklch */ color: oklch(50.9% 0.128 272.6);
Tailwind
colors: {
  custom: {
    50: '#878bc7',
    500: '#4e5eae',
    950: '#000000',
  },
}
SCSS
$custom: #4e5eae;
$custom-light: #878bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5eae",
  "rgb": {
    "r": 78,
    "g": 94,
    "b": 174
  },
  "hsl": {
    "h": 230,
    "s": 38.095,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50898,
    "c": 0.12758,
    "h": 272.6
  },
  "luminance": 0.12681
}

Semantic roles & 50–950 ramp

primary
#4E5EAE
secondary
#C2BB96
accent
#BB5ACE
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4E5EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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