#4E4872#4E4872

#4E4872 is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.6% C 0.069 H 289.7°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#4E4872
RGBrgb(78, 72, 114)
HSLhsl(249, 23%, 36%)
HSVhsv(249, 37%, 45%)
CMYKcmyk(31.6%, 36.8%, 0%, 55.3%)
CIE-LABlab(32.85, 12.99, -23.28)
CIE-LCHlch(32.85, 26.66, 299.16°)
OKLaboklab(42.62% 0.0232 -0.0649)
OKLCHoklch(42.62% 0.069 289.7)
XYZxyz(8.4957, 7.4692, 16.9104)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4872 #6C7248
analogous
#485772 #4E4872 #634872
triadic
#4E4872 #724E48 #48724E
tetradic
#4E4872 #724857 #6C7248 #487263
square
#4E4872 #724857 #6C7248 #487263
split-complementary
#4E4872 #726348 #577248
monochromatic
#1B1927 #34304C #4E4872 #686098 #8A83B1

Accessibility & contrast

On white

8.42
#4E4872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4E4872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4872
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4872#FFFFFF#000000##FFFFFF
##4E48721.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e4872;
/* rgb */ color: rgb(78, 72, 114);
/* oklch */ color: oklch(42.6% 0.069 289.7);
Tailwind
colors: {
  custom: {
    50: '#817b9a',
    500: '#4e4872',
    950: '#000000',
  },
}
SCSS
$custom: #4e4872;
$custom-light: #817b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4872",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 114
  },
  "hsl": {
    "h": 248.571,
    "s": 22.581,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42617,
    "c": 0.06889,
    "h": 289.7
  },
  "luminance": 0.07469
}

Semantic roles & 50–950 ramp

primary
#4E4872
secondary
#989D79
accent
#BF69B3
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#0A090E
muted
#7C7B7E

Preview Lab

Preview with #4E4872

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

Preview Lab → · Contrast checker → · Palette generator →

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