#4E477A#4E477A

#4E477A is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.9% C 0.083 H 288.7°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#4E477A
RGBrgb(78, 71, 122)
HSLhsl(248, 26%, 38%)
HSVhsv(248, 42%, 48%)
CMYKcmyk(36.1%, 41.8%, 0%, 52.2%)
CIE-LABlab(32.99, 15.96, -28.07)
CIE-LCHlch(32.99, 32.29, 299.62°)
OKLaboklab(42.86% 0.0266 -0.0787)
OKLCHoklch(42.86% 0.083 288.7)
XYZxyz(8.9070, 7.5311, 19.3929)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E477A #737A47
analogous
#47597A #4E477A #67477A
triadic
#4E477A #7A4E47 #477A4E
tetradic
#4E477A #7A4759 #737A47 #477A67
square
#4E477A #7A4759 #737A47 #477A67
split-complementary
#4E477A #7A6747 #597A47
monochromatic
#1D1A2D #353053 #4E477A #675EA1 #8B84B7

Accessibility & contrast

On white

8.38
#4E477A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E477A
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E477A#FFFFFF#000000##FFFFFF
##4E477A1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374F7C
Deuteranopia (green-blind)
#374C79
Tritanopia (blue-blind)
#43515A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e477a;
/* rgb */ color: rgb(78, 71, 122);
/* oklch */ color: oklch(42.9% 0.083 288.7);
Tailwind
colors: {
  custom: {
    50: '#817aa0',
    500: '#4e477a',
    950: '#000000',
  },
}
SCSS
$custom: #4e477a;
$custom-light: #817aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e477a",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 122
  },
  "hsl": {
    "h": 248.235,
    "s": 26.425,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42855,
    "c": 0.08312,
    "h": 288.7
  },
  "luminance": 0.07531
}

Semantic roles & 50–950 ramp

primary
#4E477A
secondary
#9EA37A
accent
#C365B6
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0A090F
muted
#7C7B7E

Preview Lab

Preview with #4E477A

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

Preview Lab → · Contrast checker → · Palette generator →

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