#4E4876#4E4876

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

Color values

HEX#4E4876
RGBrgb(78, 72, 118)
HSLhsl(248, 24%, 37%)
HSVhsv(248, 39%, 46%)
CMYKcmyk(33.9%, 39%, 0%, 53.7%)
CIE-LABlab(33.05, 14.14, -25.47)
CIE-LCHlch(33.05, 29.13, 299.04°)
OKLaboklab(42.84% 0.0242 -0.0712)
OKLCHoklch(42.84% 0.075 288.8)
XYZxyz(8.7284, 7.5622, 18.1358)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4876 #707648
analogous
#485976 #4E4876 #654876
triadic
#4E4876 #764E48 #48764E
tetradic
#4E4876 #764859 #707648 #487665
square
#4E4876 #764859 #707648 #487665
split-complementary
#4E4876 #766548 #597648
monochromatic
#1C1A2A #353150 #4E4876 #675F9C #8B84B4

Accessibility & contrast

On white

8.36
#4E4876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4E4876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4876
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4876#FFFFFF#000000##FFFFFF
##4E48761.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4F78
Deuteranopia (green-blind)
#3A4D75
Tritanopia (blue-blind)
#445059
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e4876;
/* rgb */ color: rgb(78, 72, 118);
/* oklch */ color: oklch(42.8% 0.075 288.8);
Tailwind
colors: {
  custom: {
    50: '#817b9d',
    500: '#4e4876',
    950: '#000000',
  },
}
SCSS
$custom: #4e4876;
$custom-light: #817b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4876",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 118
  },
  "hsl": {
    "h": 247.826,
    "s": 24.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42838,
    "c": 0.0752,
    "h": 288.8
  },
  "luminance": 0.07562
}

Semantic roles & 50–950 ramp

primary
#4E4876
secondary
#9BA07A
accent
#C167B5
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#0A090E
muted
#7C7B7E

Preview Lab

Preview with #4E4876

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

Preview Lab → · Contrast checker → · Palette generator →

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