#4C4E71#4C4E71

#4C4E71 is a dark, muted blue. Relative luminance 0.082; OKLCH L 43.7% C 0.058 H 281.2°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#4C4E71
RGBrgb(76, 78, 113)
HSLhsl(237, 20%, 37%)
HSVhsv(237, 33%, 44%)
CMYKcmyk(32.7%, 31%, 0%, 55.7%)
CIE-LABlab(34.35, 8.18, -20.33)
CIE-LCHlch(34.35, 21.92, 291.91°)
OKLaboklab(43.71% 0.0112 -0.0564)
OKLCHoklch(43.71% 0.058 281.2)
XYZxyz(8.6847, 8.1773, 16.7404)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4E71 #716F4C
analogous
#4C6171 #4C4E71 #5D4C71
triadic
#4C4E71 #714C4E #4E714C
tetradic
#4C4E71 #714C61 #716F4C #4C715D
square
#4C4E71 #714C61 #716F4C #4C715D
split-complementary
#4C4E71 #715D4C #61714C
monochromatic
#1B1B28 #33354C #4C4E71 #656796 #888AAF

Accessibility & contrast

On white

7.97
#4C4E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#4C4E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4E71
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4E71#FFFFFF#000000##FFFFFF
##4C4E711.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445272
Deuteranopia (green-blind)
#425070
Tritanopia (blue-blind)
#43545A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4c4e71;
/* rgb */ color: rgb(76, 78, 113);
/* oklch */ color: oklch(43.7% 0.058 281.2);
Tailwind
colors: {
  custom: {
    50: '#7f7f9a',
    500: '#4c4e71',
    950: '#000000',
  },
}
SCSS
$custom: #4c4e71;
$custom-light: #7f7f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4e71",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 113
  },
  "hsl": {
    "h": 236.757,
    "s": 19.577,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4371,
    "c": 0.05755,
    "h": 281.2
  },
  "luminance": 0.08178
}

Semantic roles & 50–950 ramp

primary
#4C4E71
secondary
#9C9A7D
accent
#B86CBC
background
#F7F7F9
surface
#EEEEF2
border
#C9C9CC
text
#0A0A0E
muted
#7C7C7E

Preview Lab

Preview with #4C4E71

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

Preview Lab → · Contrast checker → · Palette generator →

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