#4E477B#4E477B

#4E477B is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.9% C 0.085 H 288.5°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#4E477B
RGBrgb(78, 71, 123)
HSLhsl(248, 27%, 38%)
HSVhsv(248, 42%, 48%)
CMYKcmyk(36.6%, 42.3%, 0%, 51.8%)
CIE-LABlab(33.04, 16.26, -28.61)
CIE-LCHlch(33.04, 32.90, 299.61°)
OKLaboklab(42.91% 0.0268 -0.0803)
OKLCHoklch(42.91% 0.085 288.5)
XYZxyz(8.9693, 7.5560, 19.7209)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E477B #747B47
analogous
#475A7B #4E477B #68477B
triadic
#4E477B #7B4E47 #477B4E
tetradic
#4E477B #7B475A #747B47 #477B68
square
#4E477B #7B475A #747B47 #477B68
split-complementary
#4E477B #7B6847 #5A7B47
monochromatic
#1D1A2D #353154 #4E477B #675DA2 #8B84B8

Accessibility & contrast

On white

8.36
#4E477B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E477B
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E477B#FFFFFF#000000##FFFFFF
##4E477B1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364F7D
Deuteranopia (green-blind)
#364C7A
Tritanopia (blue-blind)
#43515B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e477b;
/* rgb */ color: rgb(78, 71, 123);
/* oklch */ color: oklch(42.9% 0.085 288.5);
Tailwind
colors: {
  custom: {
    50: '#817aa1',
    500: '#4e477b',
    950: '#000000',
  },
}
SCSS
$custom: #4e477b;
$custom-light: #817aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e477b",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 123
  },
  "hsl": {
    "h": 248.077,
    "s": 26.804,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42914,
    "c": 0.08466,
    "h": 288.5
  },
  "luminance": 0.07556
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E477B

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

Preview Lab → · Contrast checker → · Palette generator →

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