#4E5AAA#4E5AAA

#4E5AAA is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.8% C 0.127 H 274.4°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#4E5AAA
RGBrgb(78, 90, 170)
HSLhsl(232, 37%, 49%)
HSVhsv(232, 54%, 67%)
CMYKcmyk(54.1%, 47.1%, 0%, 33.3%)
CIE-LABlab(40.95, 18.91, -44.53)
CIE-LCHlch(40.95, 48.38, 293.01°)
OKLaboklab(49.81% 0.0098 -0.1268)
OKLCHoklch(49.81% 0.127 274.4)
XYZxyz(14.0514, 11.8334, 39.5660)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5AAA #AA9E4E
analogous
#4E88AA #4E5AAA #704EAA
triadic
#4E5AAA #AA4E5A #5AAA4E
tetradic
#4E5AAA #AA4E88 #AA9E4E #4EAA70
square
#4E5AAA #AA4E88 #AA9E4E #4EAA70
split-complementary
#4E5AAA #AA704E #88AA4E
monochromatic
#282E56 #3B4480 #4E5AAA #757FC0 #9FA6D3

Accessibility & contrast

On white

6.24
#4E5AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4E5AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5AAA
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5AAA#FFFFFF#000000##FFFFFF
##4E5AAA1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3665AD
Deuteranopia (green-blind)
#2B5DA8
Tritanopia (blue-blind)
#226C7A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e5aaa;
/* rgb */ color: rgb(78, 90, 170);
/* oklch */ color: oklch(49.8% 0.127 274.4);
Tailwind
colors: {
  custom: {
    50: '#8688c4',
    500: '#4e5aaa',
    950: '#000000',
  },
}
SCSS
$custom: #4e5aaa;
$custom-light: #8688c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5aaa",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 170
  },
  "hsl": {
    "h": 232.174,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.4981,
    "c": 0.12717,
    "h": 274.4
  },
  "luminance": 0.11834
}

Semantic roles & 50–950 ramp

primary
#4E5AAA
secondary
#C0BA94
accent
#BE5BCD
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E5AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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