#4D587C#4D587C

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

Color values

HEX#4D587C
RGBrgb(77, 88, 124)
HSLhsl(226, 23%, 39%)
HSVhsv(226, 38%, 49%)
CMYKcmyk(37.9%, 29%, 0%, 51.4%)
CIE-LABlab(37.86, 5.33, -21.69)
CIE-LCHlch(37.86, 22.33, 283.82°)
OKLaboklab(46.62% 0.0009 -0.0603)
OKLCHoklch(46.62% 0.06 270.9)
XYZxyz(10.1873, 10.0120, 20.4606)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D587C #7C714D
analogous
#4D707C #4D587C #5A4D7C
triadic
#4D587C #7C4D58 #587C4D
tetradic
#4D587C #7C4D70 #7C714D #4D7C5A
square
#4D587C #7C4D70 #7C714D #4D7C5A
split-complementary
#4D587C #7C5A4D #707C4D
monochromatic
#1E2230 #363D56 #4D587C #6674A0 #8C96B8

Accessibility & contrast

On white

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

On black

3.00
#4D587C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4D587C#FFFFFF#000000##FFFFFF
##4D587C1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5B7E
Deuteranopia (green-blind)
#48577B
Tritanopia (blue-blind)
#3F5F65
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4d587c;
/* rgb */ color: rgb(77, 88, 124);
/* oklch */ color: oklch(46.6% 0.060 270.9);
Tailwind
colors: {
  custom: {
    50: '#8087a2',
    500: '#4d587c',
    950: '#000000',
  },
}
SCSS
$custom: #4d587c;
$custom-light: #8087a2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d587c",
  "rgb": {
    "r": 77,
    "g": 88,
    "b": 124
  },
  "hsl": {
    "h": 225.957,
    "s": 23.383,
    "l": 39.412
  },
  "oklch": {
    "l": 0.46621,
    "c": 0.06033,
    "h": 270.9
  },
  "luminance": 0.10012
}

Semantic roles & 50–950 ramp

primary
#4D587C
secondary
#A49C81
accent
#AB68C0
background
#F7F8F9
surface
#EEEFF2
border
#C9CACC
text
#0A0B0F
muted
#7C7C7E

Preview Lab

Preview with #4D587C

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

Preview Lab → · Contrast checker → · Palette generator →

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