#4C577F#4C577F

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

Color values

HEX#4C577F
RGBrgb(76, 87, 127)
HSLhsl(227, 25%, 40%)
HSVhsv(227, 40%, 50%)
CMYKcmyk(40.2%, 31.5%, 0%, 50.2%)
CIE-LABlab(37.63, 6.56, -23.89)
CIE-LCHlch(37.63, 24.77, 285.36°)
OKLaboklab(46.47% 0.0021 -0.0667)
OKLCHoklch(46.47% 0.067 271.8)
XYZxyz(10.2183, 9.8847, 21.4441)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C577F #7F744C
analogous
#4C717F #4C577F #5B4C7F
triadic
#4C577F #7F4C57 #577F4C
tetradic
#4C577F #7F4C71 #7F744C #4C7F5B
square
#4C577F #7F4C71 #7F744C #4C7F5B
split-complementary
#4C577F #7F5B4C #717F4C
monochromatic
#1E2332 #353D59 #4C577F #6573A3 #8C96BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C577F#FFFFFF#000000##FFFFFF
##4C577F1.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)
#4A5B81
Deuteranopia (green-blind)
#45577E
Tritanopia (blue-blind)
#3C5F65
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4c577f;
/* rgb */ color: rgb(76, 87, 127);
/* oklch */ color: oklch(46.5% 0.067 271.8);
Tailwind
colors: {
  custom: {
    50: '#8086a4',
    500: '#4c577f',
    950: '#000000',
  },
}
SCSS
$custom: #4c577f;
$custom-light: #8086a4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c577f",
  "rgb": {
    "r": 76,
    "g": 87,
    "b": 127
  },
  "hsl": {
    "h": 227.059,
    "s": 25.123,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4647,
    "c": 0.0667,
    "h": 271.8
  },
  "luminance": 0.09885
}

Semantic roles & 50–950 ramp

primary
#4C577F
secondary
#A69E80
accent
#AE66C2
background
#F7F8FA
surface
#EEEFF4
border
#C9CACE
text
#0A0B0F
muted
#7C7C7F

Preview Lab

Preview with #4C577F

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

Preview Lab → · Contrast checker → · Palette generator →

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