#4E5EAD#4E5EAD

#4E5EAD is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.8% C 0.126 H 272.6°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#4E5EAD
RGBrgb(78, 94, 173)
HSLhsl(230, 38%, 49%)
HSVhsv(230, 55%, 68%)
CMYKcmyk(54.9%, 45.7%, 0%, 32.2%)
CIE-LABlab(42.22, 17.36, -44.27)
CIE-LCHlch(42.22, 47.56, 291.41°)
OKLaboklab(50.83% 0.0056 -0.126)
OKLCHoklch(50.83% 0.126 272.6)
XYZxyz(14.6850, 12.6412, 41.1932)
Luminance0.1264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5EAD #AD9D4E
analogous
#4E8EAD #4E5EAD #6E4EAD
triadic
#4E5EAD #AD4E5E #5EAD4E
tetradic
#4E5EAD #AD4E8E #AD9D4E #4EAD6E
square
#4E5EAD #AD4E8E #AD9D4E #4EAD6E
split-complementary
#4E5EAD #AD6E4E #8EAD4E
monochromatic
#283059 #3B4783 #4E5EAD #7783C2 #A1AAD5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E5EAD#FFFFFF#000000##FFFFFF
##4E5EAD1.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)
#3B68B0
Deuteranopia (green-blind)
#3060AB
Tritanopia (blue-blind)
#1D6F7D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4e5ead;
/* rgb */ color: rgb(78, 94, 173);
/* oklch */ color: oklch(50.8% 0.126 272.6);
Tailwind
colors: {
  custom: {
    50: '#878bc6',
    500: '#4e5ead',
    950: '#000000',
  },
}
SCSS
$custom: #4e5ead;
$custom-light: #878bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5ead",
  "rgb": {
    "r": 78,
    "g": 94,
    "b": 173
  },
  "hsl": {
    "h": 229.895,
    "s": 37.849,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50833,
    "c": 0.12613,
    "h": 272.6
  },
  "luminance": 0.12642
}

Semantic roles & 50–950 ramp

primary
#4E5EAD
secondary
#C2BA95
accent
#BA5ACE
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4E5EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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