#4E4874#4E4874

#4E4874 is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.7% C 0.072 H 289.2°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#4E4874
RGBrgb(78, 72, 116)
HSLhsl(248, 23%, 37%)
HSVhsv(248, 38%, 45%)
CMYKcmyk(32.8%, 37.9%, 0%, 54.5%)
CIE-LABlab(32.95, 13.56, -24.37)
CIE-LCHlch(32.95, 27.89, 299.09°)
OKLaboklab(42.73% 0.0237 -0.068)
OKLCHoklch(42.73% 0.072 289.2)
XYZxyz(8.6108, 7.5152, 17.5165)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4874 #6E7448
analogous
#485874 #4E4874 #644874
triadic
#4E4874 #744E48 #48744E
tetradic
#4E4874 #744858 #6E7448 #487464
square
#4E4874 #744858 #6E7448 #487464
split-complementary
#4E4874 #746448 #587448
monochromatic
#1B1928 #35314E #4E4874 #675F9A #8A84B3

Accessibility & contrast

On white

8.39
#4E4874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4E4874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4874
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4874#FFFFFF#000000##FFFFFF
##4E48741.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4E76
Deuteranopia (green-blind)
#3B4C73
Tritanopia (blue-blind)
#455058
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e4874;
/* rgb */ color: rgb(78, 72, 116);
/* oklch */ color: oklch(42.7% 0.072 289.2);
Tailwind
colors: {
  custom: {
    50: '#817b9c',
    500: '#4e4874',
    950: '#000000',
  },
}
SCSS
$custom: #4e4874;
$custom-light: #817b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4874",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 116
  },
  "hsl": {
    "h": 248.182,
    "s": 23.404,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42727,
    "c": 0.07205,
    "h": 289.2
  },
  "luminance": 0.07515
}

Semantic roles & 50–950 ramp

primary
#4E4874
secondary
#9A9F79
accent
#C068B4
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#0A090E
muted
#7C7B7E

Preview Lab

Preview with #4E4874

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

Preview Lab → · Contrast checker → · Palette generator →

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