#4E4AA8#4E4AA8

#4E4AA8 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.5% C 0.146 H 281.0°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#4E4AA8
RGBrgb(78, 74, 168)
HSLhsl(243, 39%, 47%)
HSVhsv(243, 56%, 66%)
CMYKcmyk(53.6%, 56%, 0%, 34.1%)
CIE-LABlab(36.64, 28.44, -50.27)
CIE-LCHlch(36.64, 57.76, 299.50°)
OKLaboklab(46.53% 0.0279 -0.1438)
OKLCHoklch(46.53% 0.146 281)
XYZxyz(12.6564, 9.3437, 38.1748)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4AA8 #A4A84A
analogous
#4A75A8 #4E4AA8 #7D4AA8
triadic
#4E4AA8 #A84E4A #4AA84E
tetradic
#4E4AA8 #A84A75 #A4A84A #4AA87D
square
#4E4AA8 #A84A75 #A4A84A #4AA87D
split-complementary
#4E4AA8 #A87D4A #75A84A
monochromatic
#272553 #3A377E #4E4AA8 #736FC0 #9C9AD2

Accessibility & contrast

On white

7.32
#4E4AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#4E4AA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4AA8
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4AA8#FFFFFF#000000##FFFFFF
##4E4AA81.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B5AAB
Deuteranopia (green-blind)
#0053A6
Tritanopia (blue-blind)
#275F72
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e4aa8;
/* rgb */ color: rgb(78, 74, 168);
/* oklch */ color: oklch(46.5% 0.146 281.0);
Tailwind
colors: {
  custom: {
    50: '#877cc2',
    500: '#4e4aa8',
    950: '#000000',
  },
}
SCSS
$custom: #4e4aa8;
$custom-light: #877cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4aa8",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 168
  },
  "hsl": {
    "h": 242.553,
    "s": 38.843,
    "l": 47.451
  },
  "oklch": {
    "l": 0.46525,
    "c": 0.14649,
    "h": 281
  },
  "luminance": 0.09344
}

Semantic roles & 50–950 ramp

primary
#4E4AA8
secondary
#BDBF8F
accent
#CF59CA
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #4E4AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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