#4E587B#4E587B

#4E587B is a mid, muted blue. Relative luminance 0.100; OKLCH L 46.6% C 0.058 H 271.7°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#4E587B
RGBrgb(78, 88, 123)
HSLhsl(227, 22%, 39%)
HSVhsv(227, 37%, 48%)
CMYKcmyk(36.6%, 28.5%, 0%, 51.8%)
CIE-LABlab(37.89, 5.35, -21.02)
CIE-LCHlch(37.89, 21.69, 284.27°)
OKLaboklab(46.65% 0.0018 -0.0584)
OKLCHoklch(46.65% 0.058 271.7)
XYZxyz(10.2057, 10.0288, 20.1331)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E587B #7B714E
analogous
#4E6F7B #4E587B #5B4E7B
triadic
#4E587B #7B4E58 #587B4E
tetradic
#4E587B #7B4E6F #7B714E #4E7B5B
square
#4E587B #7B4E6F #7B714E #4E7B5B
split-complementary
#4E587B #7B5B4E #6F7B4E
monochromatic
#1F2230 #363D56 #4E587B #67749F #8D96B7

Accessibility & contrast

On white

6.99
#4E587B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4E587B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E587B
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E587B#FFFFFF#000000##FFFFFF
##4E587B1.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5B7D
Deuteranopia (green-blind)
#49577A
Tritanopia (blue-blind)
#415F64
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e587b;
/* rgb */ color: rgb(78, 88, 123);
/* oklch */ color: oklch(46.6% 0.058 271.7);
Tailwind
colors: {
  custom: {
    50: '#8187a1',
    500: '#4e587b',
    950: '#000000',
  },
}
SCSS
$custom: #4e587b;
$custom-light: #8187a1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e587b",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 123
  },
  "hsl": {
    "h": 226.667,
    "s": 22.388,
    "l": 39.412
  },
  "oklch": {
    "l": 0.46649,
    "c": 0.05843,
    "h": 271.7
  },
  "luminance": 0.10029
}

Semantic roles & 50–950 ramp

primary
#4E587B
secondary
#A39C81
accent
#AC69BF
background
#F7F8F9
surface
#EEEFF2
border
#C9CACC
text
#0A0B0F
muted
#7C7C7E

Preview Lab

Preview with #4E587B

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

Preview Lab → · Contrast checker → · Palette generator →

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