#4E4AAE#4E4AAE

#4E4AAE is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.0% C 0.155 H 280.4°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#4E4AAE
RGBrgb(78, 74, 174)
HSLhsl(242, 40%, 49%)
HSVhsv(242, 57%, 68%)
CMYKcmyk(55.2%, 57.5%, 0%, 31.8%)
CIE-LABlab(37.06, 30.39, -53.15)
CIE-LCHlch(37.06, 61.23, 299.76°)
OKLaboklab(46.98% 0.028 -0.1523)
OKLCHoklch(46.98% 0.155 280.4)
XYZxyz(13.2283, 9.5724, 41.1868)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4AAE #AAAE4A
analogous
#4A78AE #4E4AAE #804AAE
triadic
#4E4AAE #AE4E4A #4AAE4E
tetradic
#4E4AAE #AE4A78 #AAAE4A #4AAE80
square
#4E4AAE #AE4A78 #AAAE4A #4AAE80
split-complementary
#4E4AAE #AE804A #78AE4A
monochromatic
#282558 #3B3883 #4E4AAE #7572C3 #9F9DD5

Accessibility & contrast

On white

7.21
#4E4AAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4AAE
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4AAE#FFFFFF#000000##FFFFFF
##4E4AAE1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB1
Deuteranopia (green-blind)
#0053AC
Tritanopia (blue-blind)
#206175
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e4aae;
/* rgb */ color: rgb(78, 74, 174);
/* oklch */ color: oklch(47.0% 0.155 280.4);
Tailwind
colors: {
  custom: {
    50: '#887cc7',
    500: '#4e4aae',
    950: '#000000',
  },
}
SCSS
$custom: #4e4aae;
$custom-light: #887cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4aae",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 174
  },
  "hsl": {
    "h": 242.4,
    "s": 40.323,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46976,
    "c": 0.15483,
    "h": 280.4
  },
  "luminance": 0.09573
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E4AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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