#4E4972#4E4972

#4E4972 is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.8% C 0.067 H 288.8°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#4E4972
RGBrgb(78, 73, 114)
HSLhsl(247, 22%, 37%)
HSVhsv(247, 36%, 45%)
CMYKcmyk(31.6%, 36%, 0%, 55.3%)
CIE-LABlab(33.13, 12.34, -22.84)
CIE-LCHlch(33.13, 25.96, 298.39°)
OKLaboklab(42.83% 0.0217 -0.0636)
OKLCHoklch(42.83% 0.067 288.8)
XYZxyz(8.5609, 7.5995, 16.9321)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4972 #6D7249
analogous
#495972 #4E4972 #634972
triadic
#4E4972 #724E49 #49724E
tetradic
#4E4972 #724959 #6D7249 #497263
square
#4E4972 #724959 #6D7249 #497263
split-complementary
#4E4972 #726349 #597249
monochromatic
#1B1927 #34314D #4E4972 #686197 #8A85B1

Accessibility & contrast

On white

8.33
#4E4972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4E4972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4972
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4972#FFFFFF#000000##FFFFFF
##4E49721.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4F74
Deuteranopia (green-blind)
#3D4D71
Tritanopia (blue-blind)
#465058
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e4972;
/* rgb */ color: rgb(78, 73, 114);
/* oklch */ color: oklch(42.8% 0.067 288.8);
Tailwind
colors: {
  custom: {
    50: '#817b9a',
    500: '#4e4972',
    950: '#000000',
  },
}
SCSS
$custom: #4e4972;
$custom-light: #817b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4972",
  "rgb": {
    "r": 78,
    "g": 73,
    "b": 114
  },
  "hsl": {
    "h": 247.317,
    "s": 21.925,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42834,
    "c": 0.06718,
    "h": 288.8
  },
  "luminance": 0.076
}

Semantic roles & 50–950 ramp

primary
#4E4972
secondary
#999D7A
accent
#BE69B4
background
#F7F7F9
surface
#EEEEF2
border
#C9C9CC
text
#0A090E
muted
#7C7B7E

Preview Lab

Preview with #4E4972

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

Preview Lab → · Contrast checker → · Palette generator →

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