#4E5EA2#4E5EA2

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

Color values

HEX#4E5EA2
RGBrgb(78, 94, 162)
HSLhsl(229, 35%, 47%)
HSVhsv(229, 52%, 64%)
CMYKcmyk(51.9%, 42%, 0%, 36.5%)
CIE-LABlab(41.58, 13.72, -38.78)
CIE-LCHlch(41.58, 41.13, 289.49°)
OKLaboklab(50.14% 0.0037 -0.1099)
OKLCHoklch(50.14% 0.11 271.9)
XYZxyz(13.6641, 12.2329, 35.8166)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5EA2 #A2924E
analogous
#4E88A2 #4E5EA2 #684EA2
triadic
#4E5EA2 #A24E5E #5EA24E
tetradic
#4E5EA2 #A24E88 #A2924E #4EA268
square
#4E5EA2 #A24E88 #A2924E #4EA268
split-complementary
#4E5EA2 #A2684E #88A24E
monochromatic
#262E4F #3A4679 #4E5EA2 #7280BB #9BA5CF

Accessibility & contrast

On white

6.09
#4E5EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#4E5EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5EA2
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5EA2#FFFFFF#000000##FFFFFF
##4E5EA21.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4366A5
Deuteranopia (green-blind)
#3A5FA1
Tritanopia (blue-blind)
#296D78
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4e5ea2;
/* rgb */ color: rgb(78, 94, 162);
/* oklch */ color: oklch(50.1% 0.110 271.9);
Tailwind
colors: {
  custom: {
    50: '#858bbe',
    500: '#4e5ea2',
    950: '#000000',
  },
}
SCSS
$custom: #4e5ea2;
$custom-light: #858bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5ea2",
  "rgb": {
    "r": 78,
    "g": 94,
    "b": 162
  },
  "hsl": {
    "h": 228.571,
    "s": 35,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50143,
    "c": 0.10995,
    "h": 271.9
  },
  "luminance": 0.12234
}

Semantic roles & 50–950 ramp

primary
#4E5EA2
secondary
#BCB390
accent
#B65DCB
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0B0C12
muted
#7C7D81

Preview Lab

Preview with #4E5EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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