#4E4879#4E4879

#4E4879 is a dark, moderate blue. Relative luminance 0.076; OKLCH L 43.0% C 0.080 H 288.2°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#4E4879
RGBrgb(78, 72, 121)
HSLhsl(247, 25%, 38%)
HSVhsv(247, 40%, 47%)
CMYKcmyk(35.5%, 40.5%, 0%, 52.5%)
CIE-LABlab(33.21, 15.02, -27.09)
CIE-LCHlch(33.21, 30.98, 299.00°)
OKLaboklab(43.01% 0.0249 -0.0759)
OKLCHoklch(43.01% 0.08 288.2)
XYZxyz(8.9095, 7.6347, 19.0897)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4879 #737948
analogous
#485A79 #4E4879 #664879
triadic
#4E4879 #794E48 #48794E
tetradic
#4E4879 #79485A #737948 #487966
square
#4E4879 #79485A #737948 #487966
split-complementary
#4E4879 #796648 #5A7948
monochromatic
#1D1A2C #353153 #4E4879 #675F9F #8B85B6

Accessibility & contrast

On white

8.31
#4E4879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4E4879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4879
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4879#FFFFFF#000000##FFFFFF
##4E48791.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394F7B
Deuteranopia (green-blind)
#384D78
Tritanopia (blue-blind)
#43515A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e4879;
/* rgb */ color: rgb(78, 72, 121);
/* oklch */ color: oklch(43.0% 0.080 288.2);
Tailwind
colors: {
  custom: {
    50: '#817ba0',
    500: '#4e4879',
    950: '#000000',
  },
}
SCSS
$custom: #4e4879;
$custom-light: #817ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4879",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 121
  },
  "hsl": {
    "h": 247.347,
    "s": 25.389,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43008,
    "c": 0.0799,
    "h": 288.2
  },
  "luminance": 0.07635
}

Semantic roles & 50–950 ramp

primary
#4E4879
secondary
#9EA27A
accent
#C266B7
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0A090E
muted
#7C7B7E

Preview Lab

Preview with #4E4879

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

Preview Lab → · Contrast checker → · Palette generator →

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