#4E4AAD#4E4AAD

#4E4AAD is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.9% C 0.153 H 280.5°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#4E4AAD
RGBrgb(78, 74, 173)
HSLhsl(242, 40%, 48%)
HSVhsv(242, 57%, 68%)
CMYKcmyk(54.9%, 57.2%, 0%, 32.2%)
CIE-LABlab(36.99, 30.06, -52.68)
CIE-LCHlch(36.99, 60.65, 299.72°)
OKLaboklab(46.9% 0.028 -0.1509)
OKLCHoklch(46.9% 0.153 280.5)
XYZxyz(13.1311, 9.5336, 40.6753)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4AAD #A9AD4A
analogous
#4A77AD #4E4AAD #7F4AAD
triadic
#4E4AAD #AD4E4A #4AAD4E
tetradic
#4E4AAD #AD4A77 #A9AD4A #4AAD7F
square
#4E4AAD #AD4A77 #A9AD4A #4AAD7F
split-complementary
#4E4AAD #AD7F4A #77AD4A
monochromatic
#272557 #3B3882 #4E4AAD #7572C3 #9F9DD5

Accessibility & contrast

On white

7.22
#4E4AAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#4E4AAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4AAD
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4AAD#FFFFFF#000000##FFFFFF
##4E4AAD1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB0
Deuteranopia (green-blind)
#0053AB
Tritanopia (blue-blind)
#226174
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e4aad;
/* rgb */ color: rgb(78, 74, 173);
/* oklch */ color: oklch(46.9% 0.153 280.5);
Tailwind
colors: {
  custom: {
    50: '#887cc6',
    500: '#4e4aad',
    950: '#000000',
  },
}
SCSS
$custom: #4e4aad;
$custom-light: #887cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4aad",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 173
  },
  "hsl": {
    "h": 242.424,
    "s": 40.081,
    "l": 48.431
  },
  "oklch": {
    "l": 0.469,
    "c": 0.15345,
    "h": 280.5
  },
  "luminance": 0.09534
}

Semantic roles & 50–950 ramp

primary
#4E4AAD
secondary
#BFC191
accent
#D058CB
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4E4AAD

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

Preview Lab → · Contrast checker → · Palette generator →

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