#4E489A#4E489A

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

Color values

HEX#4E489A
RGBrgb(78, 72, 154)
HSLhsl(244, 36%, 44%)
HSVhsv(244, 53%, 60%)
CMYKcmyk(49.4%, 53.2%, 0%, 39.6%)
CIE-LABlab(35.18, 25.20, -44.22)
CIE-LCHlch(35.18, 50.89, 299.68°)
OKLaboklab(45.13% 0.0296 -0.126)
OKLCHoklch(45.13% 0.129 283.2)
XYZxyz(11.2902, 8.5870, 31.6281)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E489A #949A48
analogous
#486B9A #4E489A #77489A
triadic
#4E489A #9A4E48 #489A4E
tetradic
#4E489A #9A486B #949A48 #489A77
square
#4E489A #9A486B #949A48 #489A77
split-complementary
#4E489A #9A7748 #6B9A48
monochromatic
#242147 #393570 #4E489A #6D67B8 #9591CC

Accessibility & contrast

On white

7.73
#4E489A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#4E489A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E489A
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E489A#FFFFFF#000000##FFFFFF
##4E489A1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F559D
Deuteranopia (green-blind)
#1A5098
Tritanopia (blue-blind)
#335A6A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e489a;
/* rgb */ color: rgb(78, 72, 154);
/* oklch */ color: oklch(45.1% 0.129 283.2);
Tailwind
colors: {
  custom: {
    50: '#857bb8',
    500: '#4e489a',
    950: '#000000',
  },
}
SCSS
$custom: #4e489a;
$custom-light: #857bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e489a",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 154
  },
  "hsl": {
    "h": 244.39,
    "s": 36.283,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4513,
    "c": 0.12945,
    "h": 283.2
  },
  "luminance": 0.08588
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E489A

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

Preview Lab → · Contrast checker → · Palette generator →

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