#4E5EA3#4E5EA3

#4E5EA3 is a mid, moderate blue. Relative luminance 0.123; OKLCH L 50.2% C 0.111 H 272.0°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#4E5EA3
RGBrgb(78, 94, 163)
HSLhsl(229, 35%, 47%)
HSVhsv(229, 52%, 64%)
CMYKcmyk(52.1%, 42.3%, 0%, 36.1%)
CIE-LABlab(41.64, 14.05, -39.28)
CIE-LCHlch(41.64, 41.72, 289.68°)
OKLaboklab(50.2% 0.0039 -0.1114)
OKLCHoklch(50.2% 0.111 272)
XYZxyz(13.7533, 12.2686, 36.2866)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5EA3 #A3934E
analogous
#4E89A3 #4E5EA3 #694EA3
triadic
#4E5EA3 #A34E5E #5EA34E
tetradic
#4E5EA3 #A34E89 #A3934E #4EA369
square
#4E5EA3 #A34E89 #A3934E #4EA369
split-complementary
#4E5EA3 #A3694E #89A34E
monochromatic
#262E50 #3A467A #4E5EA3 #7280BC #9CA6D0

Accessibility & contrast

On white

6.08
#4E5EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E5EA3
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5EA3#FFFFFF#000000##FFFFFF
##4E5EA31.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4266A6
Deuteranopia (green-blind)
#395FA1
Tritanopia (blue-blind)
#286D78
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4e5ea3;
/* rgb */ color: rgb(78, 94, 163);
/* oklch */ color: oklch(50.2% 0.111 272.0);
Tailwind
colors: {
  custom: {
    50: '#858bbe',
    500: '#4e5ea3',
    950: '#000000',
  },
}
SCSS
$custom: #4e5ea3;
$custom-light: #858bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5ea3",
  "rgb": {
    "r": 78,
    "g": 94,
    "b": 163
  },
  "hsl": {
    "h": 228.706,
    "s": 35.27,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50204,
    "c": 0.11144,
    "h": 272
  },
  "luminance": 0.12269
}

Semantic roles & 50–950 ramp

primary
#4E5EA3
secondary
#BCB491
accent
#B65CCB
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0B0C12
muted
#7C7D81

Preview Lab

Preview with #4E5EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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