#4E4AAA#4E4AAA

#4E4AAA is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.7% C 0.149 H 280.8°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#4E4AAA
RGBrgb(78, 74, 170)
HSLhsl(243, 39%, 48%)
HSVhsv(243, 56%, 67%)
CMYKcmyk(54.1%, 56.5%, 0%, 33.3%)
CIE-LABlab(36.78, 29.09, -51.24)
CIE-LCHlch(36.78, 58.92, 299.58°)
OKLaboklab(46.67% 0.0279 -0.1466)
OKLCHoklch(46.67% 0.149 280.8)
XYZxyz(12.8441, 9.4188, 39.1636)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4AAA #A6AA4A
analogous
#4A76AA #4E4AAA #7E4AAA
triadic
#4E4AAA #AA4E4A #4AAA4E
tetradic
#4E4AAA #AA4A76 #A6AA4A #4AAA7E
square
#4E4AAA #AA4A76 #A6AA4A #4AAA7E
split-complementary
#4E4AAA #AA7E4A #76AA4A
monochromatic
#272555 #3A377F #4E4AAA #7470C1 #9D9BD3

Accessibility & contrast

On white

7.28
#4E4AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#4E4AAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4AAA
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4AAA#FFFFFF#000000##FFFFFF
##4E4AAA1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#045AAD
Deuteranopia (green-blind)
#0053A8
Tritanopia (blue-blind)
#256073
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e4aaa;
/* rgb */ color: rgb(78, 74, 170);
/* oklch */ color: oklch(46.7% 0.149 280.8);
Tailwind
colors: {
  custom: {
    50: '#877cc4',
    500: '#4e4aaa',
    950: '#000000',
  },
}
SCSS
$custom: #4e4aaa;
$custom-light: #877cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4aaa",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 170
  },
  "hsl": {
    "h": 242.5,
    "s": 39.344,
    "l": 47.843
  },
  "oklch": {
    "l": 0.46674,
    "c": 0.14929,
    "h": 280.8
  },
  "luminance": 0.0942
}

Semantic roles & 50–950 ramp

primary
#4E4AAA
secondary
#BEC090
accent
#CF59CA
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4E4AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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