#4E5EA0#4E5EA0

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

Color values

HEX#4E5EA0
RGBrgb(78, 94, 160)
HSLhsl(228, 34%, 47%)
HSVhsv(228, 51%, 63%)
CMYKcmyk(51.2%, 41.3%, 0%, 37.3%)
CIE-LABlab(41.47, 13.07, -37.77)
CIE-LCHlch(41.47, 39.96, 289.09°)
OKLaboklab(50.02% 0.0033 -0.1069)
OKLCHoklch(50.02% 0.107 271.8)
XYZxyz(13.4877, 12.1623, 34.8877)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5EA0 #A0904E
analogous
#4E87A0 #4E5EA0 #674EA0
triadic
#4E5EA0 #A04E5E #5EA04E
tetradic
#4E5EA0 #A04E87 #A0904E #4EA067
square
#4E5EA0 #A04E87 #A0904E #4EA067
split-complementary
#4E5EA0 #A0674E #87A04E
monochromatic
#262E4E #3A4677 #4E5EA0 #717FBA #9AA4CE

Accessibility & contrast

On white

6.12
#4E5EA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#4E5EA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5EA0
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5EA0#FFFFFF#000000##FFFFFF
##4E5EA01.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4466A3
Deuteranopia (green-blind)
#3B5F9F
Tritanopia (blue-blind)
#2B6C77
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4e5ea0;
/* rgb */ color: rgb(78, 94, 160);
/* oklch */ color: oklch(50.0% 0.107 271.8);
Tailwind
colors: {
  custom: {
    50: '#858bbc',
    500: '#4e5ea0',
    950: '#000000',
  },
}
SCSS
$custom: #4e5ea0;
$custom-light: #858bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5ea0",
  "rgb": {
    "r": 78,
    "g": 94,
    "b": 160
  },
  "hsl": {
    "h": 228.293,
    "s": 34.454,
    "l": 46.667
  },
  "oklch": {
    "l": 0.50022,
    "c": 0.10698,
    "h": 271.8
  },
  "luminance": 0.12163
}

Semantic roles & 50–950 ramp

primary
#4E5EA0
secondary
#BBB28F
accent
#B55DCB
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0B0C12
muted
#7C7D81

Preview Lab

Preview with #4E5EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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