#4E4AA5#4E4AA5

#4E4AA5 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.3% C 0.142 H 281.3°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#4E4AA5
RGBrgb(78, 74, 165)
HSLhsl(243, 38%, 47%)
HSVhsv(243, 55%, 65%)
CMYKcmyk(52.7%, 55.2%, 0%, 35.3%)
CIE-LABlab(36.43, 27.46, -48.82)
CIE-LCHlch(36.43, 56.01, 299.36°)
OKLaboklab(46.3% 0.0278 -0.1395)
OKLCHoklch(46.3% 0.142 281.3)
XYZxyz(12.3801, 9.2332, 36.7198)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4AA5 #A1A54A
analogous
#4A74A5 #4E4AA5 #7C4AA5
triadic
#4E4AA5 #A54E4A #4AA54E
tetradic
#4E4AA5 #A54A74 #A1A54A #4AA57C
square
#4E4AA5 #A54A74 #A1A54A #4AA57C
split-complementary
#4E4AA5 #A57C4A #74A54A
monochromatic
#262450 #3A377B #4E4AA5 #726EBE #9B98D1

Accessibility & contrast

On white

7.38
#4E4AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#4E4AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4AA5
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4AA5#FFFFFF#000000##FFFFFF
##4E4AA51.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1359A8
Deuteranopia (green-blind)
#0452A3
Tritanopia (blue-blind)
#2A5F70
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e4aa5;
/* rgb */ color: rgb(78, 74, 165);
/* oklch */ color: oklch(46.3% 0.142 281.3);
Tailwind
colors: {
  custom: {
    50: '#867cc0',
    500: '#4e4aa5',
    950: '#000000',
  },
}
SCSS
$custom: #4e4aa5;
$custom-light: #867cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4aa5",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 165
  },
  "hsl": {
    "h": 242.637,
    "s": 38.075,
    "l": 46.863
  },
  "oklch": {
    "l": 0.46303,
    "c": 0.14227,
    "h": 281.3
  },
  "luminance": 0.09234
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E4AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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