#4E4776#4E4776

#4E4776 is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.6% C 0.077 H 289.6°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#4E4776
RGBrgb(78, 71, 118)
HSLhsl(249, 25%, 37%)
HSVhsv(249, 40%, 46%)
CMYKcmyk(33.9%, 39.8%, 0%, 53.7%)
CIE-LABlab(32.78, 14.79, -25.90)
CIE-LCHlch(32.78, 29.83, 299.72°)
OKLaboklab(42.63% 0.0257 -0.0724)
OKLCHoklch(42.63% 0.077 289.6)
XYZxyz(8.6643, 7.4340, 18.1144)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4776 #6F7647
analogous
#475876 #4E4776 #664776
triadic
#4E4776 #764E47 #47764E
tetradic
#4E4776 #764758 #6F7647 #477666
square
#4E4776 #764758 #6F7647 #477666
split-complementary
#4E4776 #766647 #587647
monochromatic
#1B192A #353050 #4E4776 #675E9C #8A83B4

Accessibility & contrast

On white

8.44
#4E4776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4776
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4776#FFFFFF#000000##FFFFFF
##4E47761.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394E78
Deuteranopia (green-blind)
#394C75
Tritanopia (blue-blind)
#445059
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e4776;
/* rgb */ color: rgb(78, 71, 118);
/* oklch */ color: oklch(42.6% 0.077 289.6);
Tailwind
colors: {
  custom: {
    50: '#817a9d',
    500: '#4e4776',
    950: '#000000',
  },
}
SCSS
$custom: #4e4776;
$custom-light: #817a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4776",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 118
  },
  "hsl": {
    "h": 248.936,
    "s": 24.868,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42625,
    "c": 0.07688,
    "h": 289.6
  },
  "luminance": 0.07434
}

Semantic roles & 50–950 ramp

primary
#4E4776
secondary
#9AA078
accent
#C167B4
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0A090E
muted
#7C7B7E

Preview Lab

Preview with #4E4776

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

Preview Lab → · Contrast checker → · Palette generator →

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