#4E5EA1#4E5EA1

#4E5EA1 is a mid, moderate blue. Relative luminance 0.122; OKLCH L 50.1% C 0.108 H 271.8°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#4E5EA1
RGBrgb(78, 94, 161)
HSLhsl(228, 35%, 47%)
HSVhsv(228, 52%, 63%)
CMYKcmyk(51.6%, 41.6%, 0%, 36.9%)
CIE-LABlab(41.53, 13.40, -38.27)
CIE-LCHlch(41.53, 40.55, 289.29°)
OKLaboklab(50.08% 0.0035 -0.1084)
OKLCHoklch(50.08% 0.108 271.8)
XYZxyz(13.5755, 12.1974, 35.3503)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5EA1 #A1914E
analogous
#4E88A1 #4E5EA1 #684EA1
triadic
#4E5EA1 #A14E5E #5EA14E
tetradic
#4E5EA1 #A14E88 #A1914E #4EA168
square
#4E5EA1 #A14E88 #A1914E #4EA168
split-complementary
#4E5EA1 #A1684E #88A14E
monochromatic
#262E4F #3A4678 #4E5EA1 #7280BB #9BA5CF

Accessibility & contrast

On white

6.11
#4E5EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#4E5EA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5EA1
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5EA1#FFFFFF#000000##FFFFFF
##4E5EA11.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4366A4
Deuteranopia (green-blind)
#3B5FA0
Tritanopia (blue-blind)
#2A6C77
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4e5ea1;
/* rgb */ color: rgb(78, 94, 161);
/* oklch */ color: oklch(50.1% 0.108 271.8);
Tailwind
colors: {
  custom: {
    50: '#858bbd',
    500: '#4e5ea1',
    950: '#000000',
  },
}
SCSS
$custom: #4e5ea1;
$custom-light: #858bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5ea1",
  "rgb": {
    "r": 78,
    "g": 94,
    "b": 161
  },
  "hsl": {
    "h": 228.434,
    "s": 34.728,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50082,
    "c": 0.10847,
    "h": 271.8
  },
  "luminance": 0.12198
}

Semantic roles & 50–950 ramp

primary
#4E5EA1
secondary
#BBB390
accent
#B65DCB
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0B0C12
muted
#7C7D81

Preview Lab

Preview with #4E5EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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