#4E5AA1#4E5AA1

#4E5AA1 is a mid, moderate blue. Relative luminance 0.115; OKLCH L 49.2% C 0.114 H 274.2°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#4E5AA1
RGBrgb(78, 90, 161)
HSLhsl(231, 35%, 47%)
HSVhsv(231, 52%, 63%)
CMYKcmyk(51.6%, 44.1%, 0%, 36.9%)
CIE-LABlab(40.42, 15.94, -40.04)
CIE-LCHlch(40.42, 43.09, 291.71°)
OKLaboklab(49.23% 0.0084 -0.1136)
OKLCHoklch(49.23% 0.114 274.2)
XYZxyz(13.2290, 11.5044, 35.2348)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5AA1 #A1954E
analogous
#4E84A1 #4E5AA1 #6C4EA1
triadic
#4E5AA1 #A14E5A #5AA14E
tetradic
#4E5AA1 #A14E84 #A1954E #4EA16C
square
#4E5AA1 #A14E84 #A1954E #4EA16C
split-complementary
#4E5AA1 #A16C4E #84A14E
monochromatic
#262C4F #3A4378 #4E5AA1 #727CBB #9BA2CF

Accessibility & contrast

On white

6.36
#4E5AA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#4E5AA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5AA1
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5AA1#FFFFFF#000000##FFFFFF
##4E5AA11.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D63A4
Deuteranopia (green-blind)
#345C9F
Tritanopia (blue-blind)
#2B6975
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4e5aa1;
/* rgb */ color: rgb(78, 90, 161);
/* oklch */ color: oklch(49.2% 0.114 274.2);
Tailwind
colors: {
  custom: {
    50: '#8588bd',
    500: '#4e5aa1',
    950: '#000000',
  },
}
SCSS
$custom: #4e5aa1;
$custom-light: #8588bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5aa1",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 161
  },
  "hsl": {
    "h": 231.325,
    "s": 34.728,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49232,
    "c": 0.11392,
    "h": 274.2
  },
  "luminance": 0.11505
}

Semantic roles & 50–950 ramp

primary
#4E5AA1
secondary
#BBB590
accent
#BB5DCB
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0B0B12
muted
#7C7C81

Preview Lab

Preview with #4E5AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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