#4E4980#4E4980

#4E4980 is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.6% C 0.089 H 286.2°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#4E4980
RGBrgb(78, 73, 128)
HSLhsl(245, 27%, 39%)
HSVhsv(245, 43%, 50%)
CMYKcmyk(39.1%, 43%, 0%, 49.8%)
CIE-LABlab(33.86, 16.45, -30.41)
CIE-LCHlch(33.86, 34.58, 298.42°)
OKLaboklab(43.63% 0.0249 -0.0855)
OKLCHoklch(43.63% 0.089 286.2)
XYZxyz(9.4196, 7.9430, 21.4547)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4980 #7B8049
analogous
#496080 #4E4980 #6A4980
triadic
#4E4980 #804E49 #49804E
tetradic
#4E4980 #804960 #7B8049 #49806A
square
#4E4980 #804960 #7B8049 #49806A
split-complementary
#4E4980 #806A49 #608049
monochromatic
#1F1D32 #363359 #4E4980 #6761A5 #8D88BB

Accessibility & contrast

On white

8.11
#4E4980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4E4980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4980
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4980#FFFFFF#000000##FFFFFF
##4E49801.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365182
Deuteranopia (green-blind)
#354E7F
Tritanopia (blue-blind)
#40545E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e4980;
/* rgb */ color: rgb(78, 73, 128);
/* oklch */ color: oklch(43.6% 0.089 286.2);
Tailwind
colors: {
  custom: {
    50: '#827ba5',
    500: '#4e4980',
    950: '#000000',
  },
}
SCSS
$custom: #4e4980;
$custom-light: #827ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4980",
  "rgb": {
    "r": 78,
    "g": 73,
    "b": 128
  },
  "hsl": {
    "h": 245.455,
    "s": 27.363,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4363,
    "c": 0.08911,
    "h": 286.2
  },
  "luminance": 0.07943
}

Semantic roles & 50–950 ramp

primary
#4E4980
secondary
#A3A77E
accent
#C464BB
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B090F
muted
#7C7B7F

Preview Lab

Preview with #4E4980

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

Preview Lab → · Contrast checker → · Palette generator →

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