#4E587C#4E587C

#4E587C is a mid, moderate blue. Relative luminance 0.101; OKLCH L 46.7% C 0.060 H 272.0°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#4E587C
RGBrgb(78, 88, 124)
HSLhsl(227, 23%, 40%)
HSVhsv(227, 37%, 49%)
CMYKcmyk(37.1%, 29%, 0%, 51.4%)
CIE-LABlab(37.94, 5.64, -21.56)
CIE-LCHlch(37.94, 22.29, 284.66°)
OKLaboklab(46.7% 0.0021 -0.06)
OKLCHoklch(46.7% 0.06 272)
XYZxyz(10.2686, 10.0540, 20.4644)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E587C #7C724E
analogous
#4E6F7C #4E587C #5B4E7C
triadic
#4E587C #7C4E58 #587C4E
tetradic
#4E587C #7C4E6F #7C724E #4E7C5B
square
#4E587C #7C4E6F #7C724E #4E7C5B
split-complementary
#4E587C #7C5B4E #6F7C4E
monochromatic
#1F2331 #363D56 #4E587C #6774A0 #8D96B7

Accessibility & contrast

On white

6.97
#4E587C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E587C
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E587C#FFFFFF#000000##FFFFFF
##4E587C1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5B7E
Deuteranopia (green-blind)
#49587B
Tritanopia (blue-blind)
#415F65
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e587c;
/* rgb */ color: rgb(78, 88, 124);
/* oklch */ color: oklch(46.7% 0.060 272.0);
Tailwind
colors: {
  custom: {
    50: '#8187a2',
    500: '#4e587c',
    950: '#000000',
  },
}
SCSS
$custom: #4e587c;
$custom-light: #8187a2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e587c",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 124
  },
  "hsl": {
    "h": 226.957,
    "s": 22.772,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46699,
    "c": 0.06,
    "h": 272
  },
  "luminance": 0.10054
}

Semantic roles & 50–950 ramp

primary
#4E587C
secondary
#A49D82
accent
#AC69BF
background
#F8F8F9
surface
#EFEFF2
border
#CACACC
text
#0A0B0F
muted
#7C7C7E

Preview Lab

Preview with #4E587C

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

Preview Lab → · Contrast checker → · Palette generator →

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