#4E5EA5#4E5EA5

#4E5EA5 is a mid, moderate blue. Relative luminance 0.123; OKLCH L 50.3% C 0.114 H 272.1°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#4E5EA5
RGBrgb(78, 94, 165)
HSLhsl(229, 36%, 48%)
HSVhsv(229, 53%, 65%)
CMYKcmyk(52.7%, 43%, 0%, 35.3%)
CIE-LABlab(41.75, 14.71, -40.29)
CIE-LCHlch(41.75, 42.89, 290.05°)
OKLaboklab(50.33% 0.0043 -0.1143)
OKLCHoklch(50.33% 0.114 272.1)
XYZxyz(13.9339, 12.3408, 37.2378)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5EA5 #A5954E
analogous
#4E89A5 #4E5EA5 #6A4EA5
triadic
#4E5EA5 #A54E5E #5EA54E
tetradic
#4E5EA5 #A54E89 #A5954E #4EA56A
square
#4E5EA5 #A54E89 #A5954E #4EA56A
split-complementary
#4E5EA5 #A56A4E #89A54E
monochromatic
#272F52 #3A467B #4E5EA5 #7381BD #9DA6D1

Accessibility & contrast

On white

6.05
#4E5EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#4E5EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5EA5
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5EA5#FFFFFF#000000##FFFFFF
##4E5EA51.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4166A8
Deuteranopia (green-blind)
#375FA3
Tritanopia (blue-blind)
#266D79
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4e5ea5;
/* rgb */ color: rgb(78, 94, 165);
/* oklch */ color: oklch(50.3% 0.114 272.1);
Tailwind
colors: {
  custom: {
    50: '#858bc0',
    500: '#4e5ea5',
    950: '#000000',
  },
}
SCSS
$custom: #4e5ea5;
$custom-light: #858bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5ea5",
  "rgb": {
    "r": 78,
    "g": 94,
    "b": 165
  },
  "hsl": {
    "h": 228.966,
    "s": 35.802,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50327,
    "c": 0.1144,
    "h": 272.1
  },
  "luminance": 0.12342
}

Semantic roles & 50–950 ramp

primary
#4E5EA5
secondary
#BDB591
accent
#B75CCC
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0B0C12
muted
#7C7D81

Preview Lab

Preview with #4E5EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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