#4E489B#4E489B

#4E489B is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.2% C 0.131 H 283.1°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#4E489B
RGBrgb(78, 72, 155)
HSLhsl(244, 37%, 45%)
HSVhsv(244, 54%, 61%)
CMYKcmyk(49.7%, 53.5%, 0%, 39.2%)
CIE-LABlab(35.24, 25.52, -44.72)
CIE-LCHlch(35.24, 51.49, 299.71°)
OKLaboklab(45.2% 0.0297 -0.1275)
OKLCHoklch(45.2% 0.131 283.1)
XYZxyz(11.3739, 8.6204, 32.0686)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E489B #959B48
analogous
#486C9B #4E489B #78489B
triadic
#4E489B #9B4E48 #489B4E
tetradic
#4E489B #9B486C #959B48 #489B78
square
#4E489B #9B486C #959B48 #489B78
split-complementary
#4E489B #9B7848 #6C9B48
monochromatic
#242147 #393571 #4E489B #6D68B9 #9691CC

Accessibility & contrast

On white

7.71
#4E489B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E489B
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E489B#FFFFFF#000000##FFFFFF
##4E489B1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E569E
Deuteranopia (green-blind)
#185099
Tritanopia (blue-blind)
#325A6A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e489b;
/* rgb */ color: rgb(78, 72, 155);
/* oklch */ color: oklch(45.2% 0.131 283.1);
Tailwind
colors: {
  custom: {
    50: '#857bb9',
    500: '#4e489b',
    950: '#000000',
  },
}
SCSS
$custom: #4e489b;
$custom-light: #857bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e489b",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 155
  },
  "hsl": {
    "h": 244.337,
    "s": 36.564,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45201,
    "c": 0.13088,
    "h": 283.1
  },
  "luminance": 0.08621
}

Semantic roles & 50–950 ramp

primary
#4E489B
secondary
#B4B887
accent
#CD5BC4
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4E489B

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

Preview Lab → · Contrast checker → · Palette generator →

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