#4E489E#4E489E

#4E489E is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.4% C 0.135 H 282.7°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#4E489E
RGBrgb(78, 72, 158)
HSLhsl(244, 37%, 45%)
HSVhsv(244, 54%, 62%)
CMYKcmyk(50.6%, 54.4%, 0%, 38%)
CIE-LABlab(35.44, 26.48, -46.20)
CIE-LCHlch(35.44, 53.25, 299.82°)
OKLaboklab(45.42% 0.0298 -0.1318)
OKLCHoklch(45.42% 0.135 282.7)
XYZxyz(11.6289, 8.7224, 33.4120)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E489E #989E48
analogous
#486D9E #4E489E #79489E
triadic
#4E489E #9E4E48 #489E4E
tetradic
#4E489E #9E486D #989E48 #489E79
square
#4E489E #9E486D #989E48 #489E79
split-complementary
#4E489E #9E7948 #6D9E48
monochromatic
#24224A #393574 #4E489E #6E69BB #9793CE

Accessibility & contrast

On white

7.65
#4E489E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E489E
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E489E#FFFFFF#000000##FFFFFF
##4E489E1.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1956A1
Deuteranopia (green-blind)
#11509C
Tritanopia (blue-blind)
#305B6C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e489e;
/* rgb */ color: rgb(78, 72, 158);
/* oklch */ color: oklch(45.4% 0.135 282.7);
Tailwind
colors: {
  custom: {
    50: '#867bbb',
    500: '#4e489e',
    950: '#000000',
  },
}
SCSS
$custom: #4e489e;
$custom-light: #867bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e489e",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 158
  },
  "hsl": {
    "h": 244.186,
    "s": 37.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.45416,
    "c": 0.13518,
    "h": 282.7
  },
  "luminance": 0.08723
}

Semantic roles & 50–950 ramp

primary
#4E489E
secondary
#B6BA88
accent
#CD5AC5
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #4E489E

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

Preview Lab → · Contrast checker → · Palette generator →

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