#4E587F#4E587F

#4E587F is a mid, moderate blue. Relative luminance 0.101; OKLCH L 46.9% C 0.065 H 272.7°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#4E587F
RGBrgb(78, 88, 127)
HSLhsl(228, 24%, 40%)
HSVhsv(228, 39%, 50%)
CMYKcmyk(38.6%, 30.7%, 0%, 50.2%)
CIE-LABlab(38.08, 6.53, -23.19)
CIE-LCHlch(38.08, 24.09, 285.72°)
OKLaboklab(46.85% 0.003 -0.0646)
OKLCHoklch(46.85% 0.065 272.7)
XYZxyz(10.4612, 10.1310, 21.4788)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E587F #7F754E
analogous
#4E707F #4E587F #5C4E7F
triadic
#4E587F #7F4E58 #587F4E
tetradic
#4E587F #7F4E70 #7F754E #4E7F5C
square
#4E587F #7F4E70 #7F754E #4E7F5C
split-complementary
#4E587F #7F5C4E #707F4E
monochromatic
#1F2333 #373E59 #4E587F #6874A2 #8E97BA

Accessibility & contrast

On white

6.94
#4E587F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#4E587F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E587F
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E587F#FFFFFF#000000##FFFFFF
##4E587F1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5C81
Deuteranopia (green-blind)
#47587E
Tritanopia (blue-blind)
#3F6066
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4e587f;
/* rgb */ color: rgb(78, 88, 127);
/* oklch */ color: oklch(46.9% 0.065 272.7);
Tailwind
colors: {
  custom: {
    50: '#8187a4',
    500: '#4e587f',
    950: '#000000',
  },
}
SCSS
$custom: #4e587f;
$custom-light: #8187a4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e587f",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 127
  },
  "hsl": {
    "h": 227.755,
    "s": 23.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46851,
    "c": 0.06469,
    "h": 272.7
  },
  "luminance": 0.10131
}

Semantic roles & 50–950 ramp

primary
#4E587F
secondary
#A69F83
accent
#AE67C0
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0A0B0F
muted
#7C7C7F

Preview Lab

Preview with #4E587F

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

Preview Lab → · Contrast checker → · Palette generator →

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