#4E4772#4E4772

#4E4772 is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.4% C 0.071 H 290.5°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#4E4772
RGBrgb(78, 71, 114)
HSLhsl(250, 23%, 36%)
HSVhsv(250, 38%, 45%)
CMYKcmyk(31.6%, 37.7%, 0%, 55.3%)
CIE-LABlab(32.57, 13.64, -23.72)
CIE-LCHlch(32.57, 27.36, 299.90°)
OKLaboklab(42.4% 0.0248 -0.0661)
OKLCHoklch(42.4% 0.071 290.5)
XYZxyz(8.4316, 7.3409, 16.8890)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4772 #6B7247
analogous
#475672 #4E4772 #644772
triadic
#4E4772 #724E47 #47724E
tetradic
#4E4772 #724756 #6B7247 #477264
square
#4E4772 #724756 #6B7247 #477264
split-complementary
#4E4772 #726447 #567247
monochromatic
#1A1827 #34304C #4E4772 #685E98 #8A82B1

Accessibility & contrast

On white

8.51
#4E4772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4E4772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4772
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4772#FFFFFF#000000##FFFFFF
##4E47721.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4D74
Deuteranopia (green-blind)
#3B4C71
Tritanopia (blue-blind)
#464F57
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e4772;
/* rgb */ color: rgb(78, 71, 114);
/* oklch */ color: oklch(42.4% 0.071 290.5);
Tailwind
colors: {
  custom: {
    50: '#817a9a',
    500: '#4e4772',
    950: '#000000',
  },
}
SCSS
$custom: #4e4772;
$custom-light: #817a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4772",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 114
  },
  "hsl": {
    "h": 249.767,
    "s": 23.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42402,
    "c": 0.07061,
    "h": 290.5
  },
  "luminance": 0.07341
}

Semantic roles & 50–950 ramp

primary
#4E4772
secondary
#979D77
accent
#C068B1
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#0A090E
muted
#7C7B7E

Preview Lab

Preview with #4E4772

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

Preview Lab → · Contrast checker → · Palette generator →

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