#4E487D#4E487D

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

Color values

HEX#4E487D
RGBrgb(78, 72, 125)
HSLhsl(247, 27%, 39%)
HSVhsv(247, 42%, 49%)
CMYKcmyk(37.6%, 42.4%, 0%, 51%)
CIE-LABlab(33.42, 16.20, -29.24)
CIE-LCHlch(33.42, 33.43, 298.99°)
OKLaboklab(43.24% 0.0258 -0.0822)
OKLCHoklch(43.24% 0.086 287.4)
XYZxyz(9.1599, 7.7348, 20.4084)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E487D #777D48
analogous
#485C7D #4E487D #68487D
triadic
#4E487D #7D4E48 #487D4E
tetradic
#4E487D #7D485C #777D48 #487D68
square
#4E487D #7D485C #777D48 #487D68
split-complementary
#4E487D #7D6848 #5C7D48
monochromatic
#1E1B2F #363256 #4E487D #675FA3 #8C86B9

Accessibility & contrast

On white

8.24
#4E487D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4E487D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E487D
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E487D#FFFFFF#000000##FFFFFF
##4E487D1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37507F
Deuteranopia (green-blind)
#364D7C
Tritanopia (blue-blind)
#42525C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e487d;
/* rgb */ color: rgb(78, 72, 125);
/* oklch */ color: oklch(43.2% 0.086 287.4);
Tailwind
colors: {
  custom: {
    50: '#827ba3',
    500: '#4e487d',
    950: '#000000',
  },
}
SCSS
$custom: #4e487d;
$custom-light: #827ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e487d",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 125
  },
  "hsl": {
    "h": 246.792,
    "s": 26.904,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43242,
    "c": 0.08611,
    "h": 287.4
  },
  "luminance": 0.07735
}

Semantic roles & 50–950 ramp

primary
#4E487D
secondary
#A1A57C
accent
#C365B9
background
#F8F7FA
surface
#EFEDF3
border
#CAC8CD
text
#0A090F
muted
#7C7B7F

Preview Lab

Preview with #4E487D

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

Preview Lab → · Contrast checker → · Palette generator →

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