#4E5AA5#4E5AA5

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

Color values

HEX#4E5AA5
RGBrgb(78, 90, 165)
HSLhsl(232, 36%, 48%)
HSVhsv(232, 53%, 65%)
CMYKcmyk(52.7%, 45.5%, 0%, 35.3%)
CIE-LABlab(40.65, 17.25, -42.05)
CIE-LCHlch(40.65, 45.45, 292.31°)
OKLaboklab(49.49% 0.0091 -0.1195)
OKLCHoklch(49.49% 0.12 274.3)
XYZxyz(13.5874, 11.6478, 37.1223)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5AA5 #A5994E
analogous
#4E85A5 #4E5AA5 #6D4EA5
triadic
#4E5AA5 #A54E5A #5AA54E
tetradic
#4E5AA5 #A54E85 #A5994E #4EA56D
square
#4E5AA5 #A54E85 #A5994E #4EA56D
split-complementary
#4E5AA5 #A56D4E #85A54E
monochromatic
#272D52 #3A437B #4E5AA5 #737DBD #9DA4D1

Accessibility & contrast

On white

6.31
#4E5AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#4E5AA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5AA5
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5AA5#FFFFFF#000000##FFFFFF
##4E5AA51.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A64A8
Deuteranopia (green-blind)
#315CA3
Tritanopia (blue-blind)
#276A77
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e5aa5;
/* rgb */ color: rgb(78, 90, 165);
/* oklch */ color: oklch(49.5% 0.120 274.3);
Tailwind
colors: {
  custom: {
    50: '#8688c0',
    500: '#4e5aa5',
    950: '#000000',
  },
}
SCSS
$custom: #4e5aa5;
$custom-light: #8688c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5aa5",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 165
  },
  "hsl": {
    "h": 231.724,
    "s": 35.802,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49486,
    "c": 0.11984,
    "h": 274.3
  },
  "luminance": 0.11649
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E5AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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