#4E489D#4E489D

#4E489D is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.3% C 0.134 H 282.9°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#4E489D
RGBrgb(78, 72, 157)
HSLhsl(244, 37%, 45%)
HSVhsv(244, 54%, 62%)
CMYKcmyk(50.3%, 54.1%, 0%, 38.4%)
CIE-LABlab(35.38, 26.16, -45.71)
CIE-LCHlch(35.38, 52.66, 299.78°)
OKLaboklab(45.34% 0.0298 -0.1304)
OKLCHoklch(45.34% 0.134 282.9)
XYZxyz(11.5432, 8.6882, 32.9605)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E489D #979D48
analogous
#486D9D #4E489D #78489D
triadic
#4E489D #9D4E48 #489D4E
tetradic
#4E489D #9D486D #979D48 #489D78
square
#4E489D #9D486D #979D48 #489D78
split-complementary
#4E489D #9D7848 #6D9D48
monochromatic
#242249 #393573 #4E489D #6E68BA #9692CD

Accessibility & contrast

On white

7.67
#4E489D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#4E489D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E489D
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E489D#FFFFFF#000000##FFFFFF
##4E489D1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B56A0
Deuteranopia (green-blind)
#14509B
Tritanopia (blue-blind)
#315B6B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e489d;
/* rgb */ color: rgb(78, 72, 157);
/* oklch */ color: oklch(45.3% 0.134 282.9);
Tailwind
colors: {
  custom: {
    50: '#857bba',
    500: '#4e489d',
    950: '#000000',
  },
}
SCSS
$custom: #4e489d;
$custom-light: #857bba;
$custom-dark: #000000;
JSON
{
  "hex": "#4e489d",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 157
  },
  "hsl": {
    "h": 244.235,
    "s": 37.118,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45344,
    "c": 0.13375,
    "h": 282.9
  },
  "luminance": 0.08689
}

Semantic roles & 50–950 ramp

primary
#4E489D
secondary
#B6B988
accent
#CD5BC5
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #4E489D

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

Preview Lab → · Contrast checker → · Palette generator →

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