#4E477E#4E477E

#4E477E is a dark, moderate blue. Relative luminance 0.076; OKLCH L 43.1% C 0.089 H 287.9°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#4E477E
RGBrgb(78, 71, 126)
HSLhsl(248, 28%, 39%)
HSVhsv(248, 44%, 49%)
CMYKcmyk(38.1%, 43.7%, 0%, 50.6%)
CIE-LABlab(33.21, 17.15, -30.21)
CIE-LCHlch(33.21, 34.74, 299.58°)
OKLaboklab(43.09% 0.0274 -0.085)
OKLCHoklch(43.09% 0.089 287.9)
XYZxyz(9.1600, 7.6323, 20.7252)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E477E #777E47
analogous
#475B7E #4E477E #69477E
triadic
#4E477E #7E4E47 #477E4E
tetradic
#4E477E #7E475B #777E47 #477E69
square
#4E477E #7E475B #777E47 #477E69
split-complementary
#4E477E #7E6947 #5B7E47
monochromatic
#1E1B30 #363157 #4E477E #675EA4 #8C85BA

Accessibility & contrast

On white

8.31
#4E477E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E477E
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E477E#FFFFFF#000000##FFFFFF
##4E477E1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354F80
Deuteranopia (green-blind)
#344D7D
Tritanopia (blue-blind)
#41525C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e477e;
/* rgb */ color: rgb(78, 71, 126);
/* oklch */ color: oklch(43.1% 0.089 287.9);
Tailwind
colors: {
  custom: {
    50: '#827aa3',
    500: '#4e477e',
    950: '#000000',
  },
}
SCSS
$custom: #4e477e;
$custom-light: #827aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e477e",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 126
  },
  "hsl": {
    "h": 247.636,
    "s": 27.919,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43093,
    "c": 0.08929,
    "h": 287.9
  },
  "luminance": 0.07633
}

Semantic roles & 50–950 ramp

primary
#4E477E
secondary
#A1A67B
accent
#C464B8
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0A090F
muted
#7C7B7F

Preview Lab

Preview with #4E477E

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

Preview Lab → · Contrast checker → · Palette generator →

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