#4E5EA8#4E5EA8

#4E5EA8 is a mid, moderate blue. Relative luminance 0.125; OKLCH L 50.5% C 0.119 H 272.3°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#4E5EA8
RGBrgb(78, 94, 168)
HSLhsl(229, 37%, 48%)
HSVhsv(229, 54%, 66%)
CMYKcmyk(53.6%, 44%, 0%, 34.1%)
CIE-LABlab(41.92, 15.70, -41.79)
CIE-LCHlch(41.92, 44.64, 290.59°)
OKLaboklab(50.52% 0.0048 -0.1187)
OKLCHoklch(50.52% 0.119 272.3)
XYZxyz(14.2102, 12.4513, 38.6927)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5EA8 #A8984E
analogous
#4E8BA8 #4E5EA8 #6B4EA8
triadic
#4E5EA8 #A84E5E #5EA84E
tetradic
#4E5EA8 #A84E8B #A8984E #4EA86B
square
#4E5EA8 #A84E8B #A8984E #4EA86B
split-complementary
#4E5EA8 #A86B4E #8BA84E
monochromatic
#272F54 #3B477E #4E5EA8 #7582BF #9EA8D2

Accessibility & contrast

On white

6.02
#4E5EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#4E5EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5EA8
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5EA8#FFFFFF#000000##FFFFFF
##4E5EA81.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F67AB
Deuteranopia (green-blind)
#355FA6
Tritanopia (blue-blind)
#236E7B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4e5ea8;
/* rgb */ color: rgb(78, 94, 168);
/* oklch */ color: oklch(50.5% 0.119 272.3);
Tailwind
colors: {
  custom: {
    50: '#868bc2',
    500: '#4e5ea8',
    950: '#000000',
  },
}
SCSS
$custom: #4e5ea8;
$custom-light: #868bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5ea8",
  "rgb": {
    "r": 78,
    "g": 94,
    "b": 168
  },
  "hsl": {
    "h": 229.333,
    "s": 36.585,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50515,
    "c": 0.11882,
    "h": 272.3
  },
  "luminance": 0.12452
}

Semantic roles & 50–950 ramp

primary
#4E5EA8
secondary
#BFB793
accent
#B85BCD
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #4E5EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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