#4E477F#4E477F

#4E477F is a dark, moderate blue. Relative luminance 0.077; OKLCH L 43.2% C 0.091 H 287.7°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#4E477F
RGBrgb(78, 71, 127)
HSLhsl(248, 28%, 39%)
HSVhsv(248, 44%, 50%)
CMYKcmyk(38.6%, 44.1%, 0%, 50.2%)
CIE-LABlab(33.26, 17.45, -30.74)
CIE-LCHlch(33.26, 35.35, 299.58°)
OKLaboklab(43.15% 0.0276 -0.0865)
OKLCHoklch(43.15% 0.091 287.7)
XYZxyz(9.2248, 7.6582, 21.0667)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E477F #787F47
analogous
#475C7F #4E477F #6A477F
triadic
#4E477F #7F4E47 #477F4E
tetradic
#4E477F #7F475C #787F47 #477F6A
square
#4E477F #7F475C #787F47 #477F6A
split-complementary
#4E477F #7F6A47 #5C7F47
monochromatic
#1E1B30 #363158 #4E477F #675EA5 #8C85BB

Accessibility & contrast

On white

8.30
#4E477F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4E477F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E477F
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E477F#FFFFFF#000000##FFFFFF
##4E477F1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345081
Deuteranopia (green-blind)
#344D7E
Tritanopia (blue-blind)
#41525D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e477f;
/* rgb */ color: rgb(78, 71, 127);
/* oklch */ color: oklch(43.2% 0.091 287.7);
Tailwind
colors: {
  custom: {
    50: '#827aa4',
    500: '#4e477f',
    950: '#000000',
  },
}
SCSS
$custom: #4e477f;
$custom-light: #827aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e477f",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 127
  },
  "hsl": {
    "h": 247.5,
    "s": 28.283,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43153,
    "c": 0.09083,
    "h": 287.7
  },
  "luminance": 0.07658
}

Semantic roles & 50–950 ramp

primary
#4E477F
secondary
#A1A77B
accent
#C563B8
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B090F
muted
#7C7B7F

Preview Lab

Preview with #4E477F

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

Preview Lab → · Contrast checker → · Palette generator →

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