#4E487C#4E487C

#4E487C is a dark, moderate blue. Relative luminance 0.077; OKLCH L 43.2% C 0.085 H 287.6°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#4E487C
RGBrgb(78, 72, 124)
HSLhsl(247, 27%, 38%)
HSVhsv(247, 42%, 49%)
CMYKcmyk(37.1%, 41.9%, 0%, 51.4%)
CIE-LABlab(33.37, 15.90, -28.71)
CIE-LCHlch(33.37, 32.82, 298.99°)
OKLaboklab(43.18% 0.0256 -0.0806)
OKLCHoklch(43.18% 0.085 287.6)
XYZxyz(9.0964, 7.7094, 20.0737)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E487C #767C48
analogous
#485C7C #4E487C #68487C
triadic
#4E487C #7C4E48 #487C4E
tetradic
#4E487C #7C485C #767C48 #487C68
square
#4E487C #7C485C #767C48 #487C68
split-complementary
#4E487C #7C6848 #5C7C48
monochromatic
#1D1B2F #363255 #4E487C #675FA2 #8C86B9

Accessibility & contrast

On white

8.26
#4E487C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4E487C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E487C
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E487C#FFFFFF#000000##FFFFFF
##4E487C1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37507E
Deuteranopia (green-blind)
#374D7B
Tritanopia (blue-blind)
#42525C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e487c;
/* rgb */ color: rgb(78, 72, 124);
/* oklch */ color: oklch(43.2% 0.085 287.6);
Tailwind
colors: {
  custom: {
    50: '#817ba2',
    500: '#4e487c',
    950: '#000000',
  },
}
SCSS
$custom: #4e487c;
$custom-light: #817ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e487c",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 124
  },
  "hsl": {
    "h": 246.923,
    "s": 26.531,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43183,
    "c": 0.08456,
    "h": 287.6
  },
  "luminance": 0.0771
}

Semantic roles & 50–950 ramp

primary
#4E487C
secondary
#A0A57B
accent
#C365B8
background
#F8F7FA
surface
#EFEDF3
border
#CAC8CD
text
#0A090F
muted
#7C7B7F

Preview Lab

Preview with #4E487C

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

Preview Lab → · Contrast checker → · Palette generator →

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