#4E5AA4#4E5AA4

#4E5AA4 is a mid, moderate blue. Relative luminance 0.116; OKLCH L 49.4% C 0.118 H 274.3°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#4E5AA4
RGBrgb(78, 90, 164)
HSLhsl(232, 36%, 47%)
HSVhsv(232, 52%, 64%)
CMYKcmyk(52.4%, 45.1%, 0%, 35.7%)
CIE-LABlab(40.59, 16.93, -41.55)
CIE-LCHlch(40.59, 44.86, 292.17°)
OKLaboklab(49.42% 0.0089 -0.118)
OKLCHoklch(49.42% 0.118 274.3)
XYZxyz(13.4968, 11.6115, 36.6448)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5AA4 #A4984E
analogous
#4E85A4 #4E5AA4 #6D4EA4
triadic
#4E5AA4 #A44E5A #5AA44E
tetradic
#4E5AA4 #A44E85 #A4984E #4EA46D
square
#4E5AA4 #A44E85 #A4984E #4EA46D
split-complementary
#4E5AA4 #A46D4E #85A44E
monochromatic
#272C51 #3A437B #4E5AA4 #737DBC #9CA4D0

Accessibility & contrast

On white

6.32
#4E5AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4E5AA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5AA4
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5AA4#FFFFFF#000000##FFFFFF
##4E5AA41.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B63A7
Deuteranopia (green-blind)
#325CA2
Tritanopia (blue-blind)
#286A77
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e5aa4;
/* rgb */ color: rgb(78, 90, 164);
/* oklch */ color: oklch(49.4% 0.118 274.3);
Tailwind
colors: {
  custom: {
    50: '#8588bf',
    500: '#4e5aa4',
    950: '#000000',
  },
}
SCSS
$custom: #4e5aa4;
$custom-light: #8588bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5aa4",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 164
  },
  "hsl": {
    "h": 231.628,
    "s": 35.537,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49422,
    "c": 0.11837,
    "h": 274.3
  },
  "luminance": 0.11612
}

Semantic roles & 50–950 ramp

primary
#4E5AA4
secondary
#BDB791
accent
#BC5CCC
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #4E5AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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