#4D577E#4D577E

#4D577E is a mid, moderate blue. Relative luminance 0.099; OKLCH L 46.5% C 0.065 H 272.6°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#4D577E
RGBrgb(77, 87, 126)
HSLhsl(228, 24%, 40%)
HSVhsv(228, 39%, 49%)
CMYKcmyk(38.9%, 31%, 0%, 50.6%)
CIE-LABlab(37.66, 6.56, -23.23)
CIE-LCHlch(37.66, 24.14, 285.78°)
OKLaboklab(46.5% 0.003 -0.0647)
OKLCHoklch(46.5% 0.065 272.6)
XYZxyz(10.2335, 9.9001, 21.1063)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D577E #7E744D
analogous
#4D707E #4D577E #5C4D7E
triadic
#4D577E #7E4D57 #577E4D
tetradic
#4D577E #7E4D70 #7E744D #4D7E5C
square
#4D577E #7E4D70 #7E744D #4D7E5C
split-complementary
#4D577E #7E5C4D #707E4D
monochromatic
#1F2332 #363D58 #4D577E #6673A2 #8C96B9

Accessibility & contrast

On white

7.05
#4D577E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#4D577E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D577E
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D577E#FFFFFF#000000##FFFFFF
##4D577E1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5B80
Deuteranopia (green-blind)
#46577D
Tritanopia (blue-blind)
#3E5F65
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4d577e;
/* rgb */ color: rgb(77, 87, 126);
/* oklch */ color: oklch(46.5% 0.065 272.6);
Tailwind
colors: {
  custom: {
    50: '#8186a3',
    500: '#4d577e',
    950: '#000000',
  },
}
SCSS
$custom: #4d577e;
$custom-light: #8186a3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d577e",
  "rgb": {
    "r": 77,
    "g": 87,
    "b": 126
  },
  "hsl": {
    "h": 227.755,
    "s": 24.138,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46495,
    "c": 0.06482,
    "h": 272.6
  },
  "luminance": 0.09901
}

Semantic roles & 50–950 ramp

primary
#4D577E
secondary
#A69E81
accent
#AE67C1
background
#F7F8FA
surface
#EEEFF4
border
#C9CACE
text
#0A0B0F
muted
#7C7C7F

Preview Lab

Preview with #4D577E

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

Preview Lab → · Contrast checker → · Palette generator →

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