#4E4AA0#4E4AA0

#4E4AA0 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.9% C 0.135 H 281.8°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#4E4AA0
RGBrgb(78, 74, 160)
HSLhsl(243, 37%, 46%)
HSVhsv(243, 54%, 63%)
CMYKcmyk(51.2%, 53.7%, 0%, 37.3%)
CIE-LABlab(36.09, 25.85, -46.37)
CIE-LCHlch(36.09, 53.09, 299.14°)
OKLaboklab(45.94% 0.0276 -0.1323)
OKLCHoklch(45.94% 0.135 281.8)
XYZxyz(11.9339, 9.0547, 34.3698)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4AA0 #9CA04A
analogous
#4A71A0 #4E4AA0 #794AA0
triadic
#4E4AA0 #A04E4A #4AA04E
tetradic
#4E4AA0 #A04A71 #9CA04A #4AA079
square
#4E4AA0 #A04A71 #9CA04A #4AA079
split-complementary
#4E4AA0 #A0794A #71A04A
monochromatic
#25234C #3A3776 #4E4AA0 #706CBB #9996CE

Accessibility & contrast

On white

7.47
#4E4AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#4E4AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4AA0
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4AA0#FFFFFF#000000##FFFFFF
##4E4AA01.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C58A3
Deuteranopia (green-blind)
#14529E
Tritanopia (blue-blind)
#2E5D6E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e4aa0;
/* rgb */ color: rgb(78, 74, 160);
/* oklch */ color: oklch(45.9% 0.135 281.8);
Tailwind
colors: {
  custom: {
    50: '#867cbd',
    500: '#4e4aa0',
    950: '#000000',
  },
}
SCSS
$custom: #4e4aa0;
$custom-light: #867cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4aa0",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 160
  },
  "hsl": {
    "h": 242.791,
    "s": 36.752,
    "l": 45.882
  },
  "oklch": {
    "l": 0.45941,
    "c": 0.13516,
    "h": 281.8
  },
  "luminance": 0.09055
}

Semantic roles & 50–950 ramp

primary
#4E4AA0
secondary
#B8BB8B
accent
#CD5BC7
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #4E4AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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