#4D5879#4D5879

#4D5879 is a mid, muted blue. Relative luminance 0.099; OKLCH L 46.5% C 0.056 H 269.9°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#4D5879
RGBrgb(77, 88, 121)
HSLhsl(225, 22%, 39%)
HSVhsv(225, 36%, 47%)
CMYKcmyk(36.4%, 27.3%, 0%, 52.5%)
CIE-LABlab(37.73, 4.45, -20.05)
CIE-LCHlch(37.73, 20.54, 282.52°)
OKLaboklab(46.47% -0.0001 -0.0556)
OKLCHoklch(46.47% 0.056 269.9)
XYZxyz(10.0005, 9.9373, 19.4766)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5879 #796E4D
analogous
#4D6E79 #4D5879 #584D79
triadic
#4D5879 #794D58 #58794D
tetradic
#4D5879 #794D6E #796E4D #4D7958
square
#4D5879 #794D6E #796E4D #4D7958
split-complementary
#4D5879 #79584D #6E794D
monochromatic
#1D222E #353D54 #4D5879 #66749D #8B96B5

Accessibility & contrast

On white

7.03
#4D5879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#4D5879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D5879
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5879#FFFFFF#000000##FFFFFF
##4D58791.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5B7A
Deuteranopia (green-blind)
#4A5778
Tritanopia (blue-blind)
#405F63
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4d5879;
/* rgb */ color: rgb(77, 88, 121);
/* oklch */ color: oklch(46.5% 0.056 269.9);
Tailwind
colors: {
  custom: {
    50: '#80879f',
    500: '#4d5879',
    950: '#000000',
  },
}
SCSS
$custom: #4d5879;
$custom-light: #80879f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5879",
  "rgb": {
    "r": 77,
    "g": 88,
    "b": 121
  },
  "hsl": {
    "h": 225,
    "s": 22.222,
    "l": 38.824
  },
  "oklch": {
    "l": 0.46472,
    "c": 0.05564,
    "h": 269.9
  },
  "luminance": 0.09938
}

Semantic roles & 50–950 ramp

primary
#4D5879
secondary
#A29980
accent
#A969BF
background
#F7F8F9
surface
#EEEFF2
border
#C9CACC
text
#0A0B0E
muted
#7C7C7E

Preview Lab

Preview with #4D5879

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

Preview Lab → · Contrast checker → · Palette generator →

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