#4A4772#4A4772

#4A4772 is a dark, moderate blue. Relative luminance 0.072; OKLCH L 42.0% C 0.071 H 286.1°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#4A4772
RGBrgb(74, 71, 114)
HSLhsl(244, 23%, 36%)
HSVhsv(244, 38%, 45%)
CMYKcmyk(35.1%, 37.7%, 0%, 55.3%)
CIE-LABlab(32.21, 12.37, -24.31)
CIE-LCHlch(32.21, 27.28, 296.96°)
OKLaboklab(42.03% 0.0196 -0.0679)
OKLCHoklch(42.03% 0.071 286.1)
XYZxyz(8.1137, 7.1770, 16.8741)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4772 #6F7247
analogous
#475A72 #4A4772 #604772
triadic
#4A4772 #724A47 #47724A
tetradic
#4A4772 #72475A #6F7247 #477260
square
#4A4772 #72475A #6F7247 #477260
split-complementary
#4A4772 #726047 #5A7247
monochromatic
#191827 #32304C #4A4772 #625E98 #8582B1

Accessibility & contrast

On white

8.62
#4A4772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4A4772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4772
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4772#FFFFFF#000000##FFFFFF
##4A47721.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4D74
Deuteranopia (green-blind)
#394B71
Tritanopia (blue-blind)
#404F57
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4a4772;
/* rgb */ color: rgb(74, 71, 114);
/* oklch */ color: oklch(42.0% 0.071 286.1);
Tailwind
colors: {
  custom: {
    50: '#7e7a9a',
    500: '#4a4772',
    950: '#000000',
  },
}
SCSS
$custom: #4a4772;
$custom-light: #7e7a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4772",
  "rgb": {
    "r": 74,
    "g": 71,
    "b": 114
  },
  "hsl": {
    "h": 244.186,
    "s": 23.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42034,
    "c": 0.07072,
    "h": 286.1
  },
  "luminance": 0.07177
}

Semantic roles & 50–950 ramp

primary
#4A4772
secondary
#9B9D77
accent
#C068BA
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#0A090E
muted
#7C7B7E

Preview Lab

Preview with #4A4772

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

Preview Lab → · Contrast checker → · Palette generator →

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