#4E4899#4E4899

#4E4899 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.1% C 0.128 H 283.3°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#4E4899
RGBrgb(78, 72, 153)
HSLhsl(244, 36%, 44%)
HSVhsv(244, 53%, 60%)
CMYKcmyk(49%, 52.9%, 0%, 40%)
CIE-LABlab(35.11, 24.88, -43.72)
CIE-LCHlch(35.11, 50.30, 299.64°)
OKLaboklab(45.06% 0.0295 -0.1245)
OKLCHoklch(45.06% 0.128 283.3)
XYZxyz(11.2073, 8.5538, 31.1913)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4899 #939948
analogous
#486B99 #4E4899 #774899
triadic
#4E4899 #994E48 #48994E
tetradic
#4E4899 #99486B #939948 #489977
square
#4E4899 #99486B #939948 #489977
split-complementary
#4E4899 #997748 #6B9948
monochromatic
#242146 #39346F #4E4899 #6D67B7 #9590CB

Accessibility & contrast

On white

7.75
#4E4899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#4E4899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4899
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4899#FFFFFF#000000##FFFFFF
##4E48991.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20559C
Deuteranopia (green-blind)
#1B5097
Tritanopia (blue-blind)
#345A69
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e4899;
/* rgb */ color: rgb(78, 72, 153);
/* oklch */ color: oklch(45.1% 0.128 283.3);
Tailwind
colors: {
  custom: {
    50: '#857bb7',
    500: '#4e4899',
    950: '#000000',
  },
}
SCSS
$custom: #4e4899;
$custom-light: #857bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4899",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 153
  },
  "hsl": {
    "h": 244.444,
    "s": 36,
    "l": 44.118
  },
  "oklch": {
    "l": 0.4506,
    "c": 0.128,
    "h": 283.3
  },
  "luminance": 0.08554
}

Semantic roles & 50–950 ramp

primary
#4E4899
secondary
#B3B786
accent
#CC5CC4
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4E4899

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

Preview Lab → · Contrast checker → · Palette generator →

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