#4E4780#4E4780

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

Color values

HEX#4E4780
RGBrgb(78, 71, 128)
HSLhsl(247, 29%, 39%)
HSVhsv(247, 45%, 50%)
CMYKcmyk(39.1%, 44.5%, 0%, 49.8%)
CIE-LABlab(33.32, 17.75, -31.27)
CIE-LCHlch(33.32, 35.96, 299.58°)
OKLaboklab(43.21% 0.0278 -0.0881)
OKLCHoklch(43.21% 0.092 287.5)
XYZxyz(9.2903, 7.6844, 21.4116)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4780 #798047
analogous
#475D80 #4E4780 #6B4780
triadic
#4E4780 #804E47 #47804E
tetradic
#4E4780 #80475D #798047 #47806B
square
#4E4780 #80475D #798047 #47806B
split-complementary
#4E4780 #806B47 #5D8047
monochromatic
#1E1B31 #363159 #4E4780 #675EA6 #8C86BC

Accessibility & contrast

On white

8.28
#4E4780 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4E4780 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4780
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4780#FFFFFF#000000##FFFFFF
##4E47801.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335082
Deuteranopia (green-blind)
#334D7F
Tritanopia (blue-blind)
#41525D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e4780;
/* rgb */ color: rgb(78, 71, 128);
/* oklch */ color: oklch(43.2% 0.092 287.5);
Tailwind
colors: {
  custom: {
    50: '#827aa5',
    500: '#4e4780',
    950: '#000000',
  },
}
SCSS
$custom: #4e4780;
$custom-light: #827aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4780",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 128
  },
  "hsl": {
    "h": 247.368,
    "s": 28.643,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43214,
    "c": 0.09236,
    "h": 287.5
  },
  "luminance": 0.07685
}

Semantic roles & 50–950 ramp

primary
#4E4780
secondary
#A2A77B
accent
#C563B9
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B090F
muted
#7C7B7F

Preview Lab

Preview with #4E4780

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

Preview Lab → · Contrast checker → · Palette generator →

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