#4E4A99#4E4A99

#4E4A99 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.4% C 0.125 H 282.5°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#4E4A99
RGBrgb(78, 74, 153)
HSLhsl(243, 35%, 45%)
HSVhsv(243, 52%, 60%)
CMYKcmyk(49%, 51.6%, 0%, 40%)
CIE-LABlab(35.63, 23.60, -42.89)
CIE-LCHlch(35.63, 48.95, 298.82°)
OKLaboklab(45.45% 0.0271 -0.1221)
OKLCHoklch(45.45% 0.125 282.5)
XYZxyz(11.3387, 8.8166, 31.2351)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4A99 #95994A
analogous
#4A6E99 #4E4A99 #764A99
triadic
#4E4A99 #994E4A #4A994E
tetradic
#4E4A99 #994A6E #95994A #4A9976
square
#4E4A99 #994A6E #95994A #4A9976
split-complementary
#4E4A99 #99764A #6E994A
monochromatic
#242247 #393670 #4E4A99 #6D6AB7 #9693CB

Accessibility & contrast

On white

7.60
#4E4A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4E4A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4A99
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4A99#FFFFFF#000000##FFFFFF
##4E4A991.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25569C
Deuteranopia (green-blind)
#205197
Tritanopia (blue-blind)
#335B6A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e4a99;
/* rgb */ color: rgb(78, 74, 153);
/* oklch */ color: oklch(45.4% 0.125 282.5);
Tailwind
colors: {
  custom: {
    50: '#857cb7',
    500: '#4e4a99',
    950: '#000000',
  },
}
SCSS
$custom: #4e4a99;
$custom-light: #857cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4a99",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 153
  },
  "hsl": {
    "h": 243.038,
    "s": 34.802,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45448,
    "c": 0.12506,
    "h": 282.5
  },
  "luminance": 0.08817
}

Semantic roles & 50–950 ramp

primary
#4E4A99
secondary
#B4B788
accent
#CB5DC5
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4E4A99

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

Preview Lab → · Contrast checker → · Palette generator →

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