#4E487A#4E487A

#4E487A is a dark, moderate blue. Relative luminance 0.077; OKLCH L 43.1% C 0.081 H 288.0°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#4E487A
RGBrgb(78, 72, 122)
HSLhsl(247, 26%, 38%)
HSVhsv(247, 41%, 48%)
CMYKcmyk(36.1%, 41%, 0%, 52.2%)
CIE-LABlab(33.26, 15.31, -27.63)
CIE-LCHlch(33.26, 31.59, 298.99°)
OKLaboklab(43.07% 0.0251 -0.0775)
OKLCHoklch(43.07% 0.081 288)
XYZxyz(8.9712, 7.6593, 19.4143)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E487A #747A48
analogous
#485B7A #4E487A #67487A
triadic
#4E487A #7A4E48 #487A4E
tetradic
#4E487A #7A485B #747A48 #487A67
square
#4E487A #7A485B #747A48 #487A67
split-complementary
#4E487A #7A6748 #5B7A48
monochromatic
#1D1B2D #353154 #4E487A #675FA0 #8B85B7

Accessibility & contrast

On white

8.29
#4E487A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4E487A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E487A
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E487A#FFFFFF#000000##FFFFFF
##4E487A1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384F7C
Deuteranopia (green-blind)
#384D79
Tritanopia (blue-blind)
#43515B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e487a;
/* rgb */ color: rgb(78, 72, 122);
/* oklch */ color: oklch(43.1% 0.081 288.0);
Tailwind
colors: {
  custom: {
    50: '#817ba0',
    500: '#4e487a',
    950: '#000000',
  },
}
SCSS
$custom: #4e487a;
$custom-light: #817ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e487a",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 122
  },
  "hsl": {
    "h": 247.2,
    "s": 25.773,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43066,
    "c": 0.08145,
    "h": 288
  },
  "luminance": 0.0766
}

Semantic roles & 50–950 ramp

primary
#4E487A
secondary
#9EA37B
accent
#C266B7
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0A090F
muted
#7C7B7E

Preview Lab

Preview with #4E487A

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

Preview Lab → · Contrast checker → · Palette generator →

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