#4E4774#4E4774

#4E4774 is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.5% C 0.074 H 290.0°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#4E4774
RGBrgb(78, 71, 116)
HSLhsl(249, 24%, 37%)
HSVhsv(249, 39%, 45%)
CMYKcmyk(32.8%, 38.8%, 0%, 54.5%)
CIE-LABlab(32.67, 14.21, -24.81)
CIE-LCHlch(32.67, 28.59, 299.80°)
OKLaboklab(42.51% 0.0253 -0.0693)
OKLCHoklch(42.51% 0.074 290)
XYZxyz(8.5467, 7.3869, 17.4951)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4774 #6D7447
analogous
#475774 #4E4774 #654774
triadic
#4E4774 #744E47 #47744E
tetradic
#4E4774 #744757 #6D7447 #477465
square
#4E4774 #744757 #6D7447 #477465
split-complementary
#4E4774 #746547 #577447
monochromatic
#1B1928 #34304E #4E4774 #685E9A #8A83B3

Accessibility & contrast

On white

8.48
#4E4774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4E4774 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4774
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4774#FFFFFF#000000##FFFFFF
##4E47741.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4E76
Deuteranopia (green-blind)
#3A4C73
Tritanopia (blue-blind)
#454F58
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e4774;
/* rgb */ color: rgb(78, 71, 116);
/* oklch */ color: oklch(42.5% 0.074 290.0);
Tailwind
colors: {
  custom: {
    50: '#817a9c',
    500: '#4e4774',
    950: '#000000',
  },
}
SCSS
$custom: #4e4774;
$custom-light: #817a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4774",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 116
  },
  "hsl": {
    "h": 249.333,
    "s": 24.064,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42513,
    "c": 0.07376,
    "h": 290
  },
  "luminance": 0.07387
}

Semantic roles & 50–950 ramp

primary
#4E4774
secondary
#999F78
accent
#C167B3
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#0A090E
muted
#7C7B7E

Preview Lab

Preview with #4E4774

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

Preview Lab → · Contrast checker → · Palette generator →

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