#4E4AAB#4E4AAB

#4E4AAB is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.7% C 0.151 H 280.7°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#4E4AAB
RGBrgb(78, 74, 171)
HSLhsl(242, 40%, 48%)
HSVhsv(242, 57%, 67%)
CMYKcmyk(54.4%, 56.7%, 0%, 32.9%)
CIE-LABlab(36.85, 29.41, -51.72)
CIE-LCHlch(36.85, 59.50, 299.63°)
OKLaboklab(46.75% 0.0279 -0.1481)
OKLCHoklch(46.75% 0.151 280.7)
XYZxyz(12.9391, 9.4567, 39.6637)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4AAB #A7AB4A
analogous
#4A76AB #4E4AAB #7E4AAB
triadic
#4E4AAB #AB4E4A #4AAB4E
tetradic
#4E4AAB #AB4A76 #A7AB4A #4AAB7E
square
#4E4AAB #AB4A76 #A7AB4A #4AAB7E
split-complementary
#4E4AAB #AB7E4A #76AB4A
monochromatic
#272556 #3B3880 #4E4AAB #7471C1 #9E9BD4

Accessibility & contrast

On white

7.26
#4E4AAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#4E4AAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4AAB
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4AAB#FFFFFF#000000##FFFFFF
##4E4AAB1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#015AAE
Deuteranopia (green-blind)
#0053A9
Tritanopia (blue-blind)
#246073
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e4aab;
/* rgb */ color: rgb(78, 74, 171);
/* oklch */ color: oklch(46.7% 0.151 280.7);
Tailwind
colors: {
  custom: {
    50: '#877cc5',
    500: '#4e4aab',
    950: '#000000',
  },
}
SCSS
$custom: #4e4aab;
$custom-light: #877cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4aab",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 171
  },
  "hsl": {
    "h": 242.474,
    "s": 39.592,
    "l": 48.039
  },
  "oklch": {
    "l": 0.46749,
    "c": 0.15067,
    "h": 280.7
  },
  "luminance": 0.09458
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E4AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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