#4E4773#4E4773

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

Color values

HEX#4E4773
RGBrgb(78, 71, 115)
HSLhsl(250, 24%, 36%)
HSVhsv(250, 38%, 45%)
CMYKcmyk(32.2%, 38.3%, 0%, 54.9%)
CIE-LABlab(32.62, 13.92, -24.27)
CIE-LCHlch(32.62, 27.98, 299.85°)
OKLaboklab(42.46% 0.025 -0.0677)
OKLCHoklch(42.46% 0.072 290.3)
XYZxyz(8.4888, 7.3638, 17.1904)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4773 #6C7347
analogous
#475673 #4E4773 #644773
triadic
#4E4773 #734E47 #47734E
tetradic
#4E4773 #734756 #6C7347 #477364
square
#4E4773 #734756 #6C7347 #477364
split-complementary
#4E4773 #736447 #567347
monochromatic
#1B1827 #34304D #4E4773 #685E99 #8A82B2

Accessibility & contrast

On white

8.49
#4E4773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4E4773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4773
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4773#FFFFFF#000000##FFFFFF
##4E47731.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4E75
Deuteranopia (green-blind)
#3B4C72
Tritanopia (blue-blind)
#454F57
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e4773;
/* rgb */ color: rgb(78, 71, 115);
/* oklch */ color: oklch(42.5% 0.072 290.3);
Tailwind
colors: {
  custom: {
    50: '#817a9b',
    500: '#4e4773',
    950: '#000000',
  },
}
SCSS
$custom: #4e4773;
$custom-light: #817a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4773",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 115
  },
  "hsl": {
    "h": 249.545,
    "s": 23.656,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42457,
    "c": 0.07218,
    "h": 290.3
  },
  "luminance": 0.07364
}

Semantic roles & 50–950 ramp

primary
#4E4773
secondary
#989E78
accent
#C068B2
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#0A090E
muted
#7C7B7E

Preview Lab

Preview with #4E4773

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

Preview Lab → · Contrast checker → · Palette generator →

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