#4E487F#4E487F

#4E487F is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.4% C 0.089 H 287.1°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#4E487F
RGBrgb(78, 72, 127)
HSLhsl(247, 28%, 39%)
HSVhsv(247, 43%, 50%)
CMYKcmyk(38.6%, 43.3%, 0%, 50.2%)
CIE-LABlab(33.53, 16.80, -30.31)
CIE-LCHlch(33.53, 34.66, 299.00°)
OKLaboklab(43.36% 0.0262 -0.0853)
OKLCHoklch(43.36% 0.089 287.1)
XYZxyz(9.2890, 7.7865, 21.0881)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E487F #797F48
analogous
#485E7F #4E487F #6A487F
triadic
#4E487F #7F4E48 #487F4E
tetradic
#4E487F #7F485E #797F48 #487F6A
square
#4E487F #7F485E #797F48 #487F6A
split-complementary
#4E487F #7F6A48 #5E7F48
monochromatic
#1E1C31 #363258 #4E487F #6760A5 #8C87BB

Accessibility & contrast

On white

8.21
#4E487F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4E487F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E487F
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E487F#FFFFFF#000000##FFFFFF
##4E487F1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365081
Deuteranopia (green-blind)
#354D7E
Tritanopia (blue-blind)
#41535D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e487f;
/* rgb */ color: rgb(78, 72, 127);
/* oklch */ color: oklch(43.4% 0.089 287.1);
Tailwind
colors: {
  custom: {
    50: '#827ba4',
    500: '#4e487f',
    950: '#000000',
  },
}
SCSS
$custom: #4e487f;
$custom-light: #827ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e487f",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 127
  },
  "hsl": {
    "h": 246.545,
    "s": 27.638,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43361,
    "c": 0.0892,
    "h": 287.1
  },
  "luminance": 0.07787
}

Semantic roles & 50–950 ramp

primary
#4E487F
secondary
#A2A77C
accent
#C464B9
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0A090F
muted
#7C7B7F

Preview Lab

Preview with #4E487F

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

Preview Lab → · Contrast checker → · Palette generator →

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