#4E4AA1#4E4AA1

#4E4AA1 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.0% C 0.137 H 281.7°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#4E4AA1
RGBrgb(78, 74, 161)
HSLhsl(243, 37%, 46%)
HSVhsv(243, 54%, 63%)
CMYKcmyk(51.6%, 54%, 0%, 36.9%)
CIE-LABlab(36.16, 26.17, -46.86)
CIE-LCHlch(36.16, 53.67, 299.18°)
OKLaboklab(46.01% 0.0276 -0.1338)
OKLCHoklch(46.01% 0.137 281.7)
XYZxyz(12.0217, 9.0898, 34.8324)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4AA1 #9DA14A
analogous
#4A71A1 #4E4AA1 #794AA1
triadic
#4E4AA1 #A14E4A #4AA14E
tetradic
#4E4AA1 #A14A71 #9DA14A #4AA179
square
#4E4AA1 #A14A71 #9DA14A #4AA179
split-complementary
#4E4AA1 #A1794A #71A14A
monochromatic
#25234D #3A3777 #4E4AA1 #706DBC #9996CF

Accessibility & contrast

On white

7.45
#4E4AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#4E4AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4AA1
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4AA1#FFFFFF#000000##FFFFFF
##4E4AA11.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B58A4
Deuteranopia (green-blind)
#11529F
Tritanopia (blue-blind)
#2D5D6E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e4aa1;
/* rgb */ color: rgb(78, 74, 161);
/* oklch */ color: oklch(46.0% 0.137 281.7);
Tailwind
colors: {
  custom: {
    50: '#867cbd',
    500: '#4e4aa1',
    950: '#000000',
  },
}
SCSS
$custom: #4e4aa1;
$custom-light: #867cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4aa1",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 161
  },
  "hsl": {
    "h": 242.759,
    "s": 37.021,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46012,
    "c": 0.13659,
    "h": 281.7
  },
  "luminance": 0.0909
}

Semantic roles & 50–950 ramp

primary
#4E4AA1
secondary
#B9BB8C
accent
#CD5BC8
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #4E4AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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