#4E4775#4E4775

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

Color values

HEX#4E4775
RGBrgb(78, 71, 117)
HSLhsl(249, 24%, 37%)
HSVhsv(249, 39%, 46%)
CMYKcmyk(33.3%, 39.3%, 0%, 54.1%)
CIE-LABlab(32.72, 14.50, -25.36)
CIE-LCHlch(32.72, 29.21, 299.76°)
OKLaboklab(42.57% 0.0255 -0.0709)
OKLCHoklch(42.57% 0.075 289.8)
XYZxyz(8.6052, 7.4103, 17.8031)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4775 #6E7547
analogous
#475775 #4E4775 #654775
triadic
#4E4775 #754E47 #47754E
tetradic
#4E4775 #754757 #6E7547 #477565
square
#4E4775 #754757 #6E7547 #477565
split-complementary
#4E4775 #756547 #577547
monochromatic
#1B1929 #35304F #4E4775 #675E9B #8A83B4

Accessibility & contrast

On white

8.46
#4E4775 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4775
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4775#FFFFFF#000000##FFFFFF
##4E47751.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394E77
Deuteranopia (green-blind)
#3A4C74
Tritanopia (blue-blind)
#454F58
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e4775;
/* rgb */ color: rgb(78, 71, 117);
/* oklch */ color: oklch(42.6% 0.075 289.8);
Tailwind
colors: {
  custom: {
    50: '#817a9d',
    500: '#4e4775',
    950: '#000000',
  },
}
SCSS
$custom: #4e4775;
$custom-light: #817a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4775",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 117
  },
  "hsl": {
    "h": 249.13,
    "s": 24.468,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42569,
    "c": 0.07533,
    "h": 289.8
  },
  "luminance": 0.07411
}

Semantic roles & 50–950 ramp

primary
#4E4775
secondary
#9AA078
accent
#C167B3
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#0A090E
muted
#7C7B7E

Preview Lab

Preview with #4E4775

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

Preview Lab → · Contrast checker → · Palette generator →

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