#4E4AA4#4E4AA4

#4E4AA4 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.2% C 0.141 H 281.4°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#4E4AA4
RGBrgb(78, 74, 164)
HSLhsl(243, 38%, 47%)
HSVhsv(243, 55%, 64%)
CMYKcmyk(52.4%, 54.9%, 0%, 35.7%)
CIE-LABlab(36.36, 27.14, -48.33)
CIE-LCHlch(36.36, 55.43, 299.32°)
OKLaboklab(46.23% 0.0278 -0.1381)
OKLCHoklch(46.23% 0.141 281.4)
XYZxyz(12.2895, 9.1969, 36.2424)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4AA4 #A0A44A
analogous
#4A73A4 #4E4AA4 #7B4AA4
triadic
#4E4AA4 #A44E4A #4AA44E
tetradic
#4E4AA4 #A44A73 #A0A44A #4AA47B
square
#4E4AA4 #A44A73 #A0A44A #4AA47B
split-complementary
#4E4AA4 #A47B4A #73A44A
monochromatic
#262450 #3A377A #4E4AA4 #716EBD #9A98D0

Accessibility & contrast

On white

7.40
#4E4AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#4E4AA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4AA4
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4AA4#FFFFFF#000000##FFFFFF
##4E4AA41.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1559A7
Deuteranopia (green-blind)
#0852A2
Tritanopia (blue-blind)
#2B5E70
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e4aa4;
/* rgb */ color: rgb(78, 74, 164);
/* oklch */ color: oklch(46.2% 0.141 281.4);
Tailwind
colors: {
  custom: {
    50: '#867cc0',
    500: '#4e4aa4',
    950: '#000000',
  },
}
SCSS
$custom: #4e4aa4;
$custom-light: #867cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4aa4",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 164
  },
  "hsl": {
    "h": 242.667,
    "s": 37.815,
    "l": 46.667
  },
  "oklch": {
    "l": 0.4623,
    "c": 0.14085,
    "h": 281.4
  },
  "luminance": 0.09198
}

Semantic roles & 50–950 ramp

primary
#4E4AA4
secondary
#BBBD8D
accent
#CE5AC9
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #4E4AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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