#4E5AA6#4E5AA6

#4E5AA6 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.5% C 0.121 H 274.4°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#4E5AA6
RGBrgb(78, 90, 166)
HSLhsl(232, 36%, 48%)
HSVhsv(232, 53%, 65%)
CMYKcmyk(53%, 45.8%, 0%, 34.9%)
CIE-LABlab(40.71, 17.58, -42.54)
CIE-LCHlch(40.71, 46.03, 292.46°)
OKLaboklab(49.55% 0.0092 -0.121)
OKLCHoklch(49.55% 0.121 274.4)
XYZxyz(13.6788, 11.6843, 37.6035)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5AA6 #A69A4E
analogous
#4E86A6 #4E5AA6 #6E4EA6
triadic
#4E5AA6 #A64E5A #5AA64E
tetradic
#4E5AA6 #A64E86 #A69A4E #4EA66E
square
#4E5AA6 #A64E86 #A69A4E #4EA66E
split-complementary
#4E5AA6 #A66E4E #86A64E
monochromatic
#272D53 #3A437C #4E5AA6 #747EBE #9DA4D1

Accessibility & contrast

On white

6.29
#4E5AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#4E5AA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5AA6
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5AA6#FFFFFF#000000##FFFFFF
##4E5AA61.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3964A9
Deuteranopia (green-blind)
#305CA4
Tritanopia (blue-blind)
#266A78
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e5aa6;
/* rgb */ color: rgb(78, 90, 166);
/* oklch */ color: oklch(49.5% 0.121 274.4);
Tailwind
colors: {
  custom: {
    50: '#8688c1',
    500: '#4e5aa6',
    950: '#000000',
  },
}
SCSS
$custom: #4e5aa6;
$custom-light: #8688c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5aa6",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 166
  },
  "hsl": {
    "h": 231.818,
    "s": 36.066,
    "l": 47.843
  },
  "oklch": {
    "l": 0.4955,
    "c": 0.12131,
    "h": 274.4
  },
  "luminance": 0.11685
}

Semantic roles & 50–950 ramp

primary
#4E5AA6
secondary
#BEB892
accent
#BD5CCC
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #4E5AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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