#4E5980#4E5980

#4E5980 is a mid, moderate blue. Relative luminance 0.103; OKLCH L 47.1% C 0.065 H 271.7°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#4E5980
RGBrgb(78, 89, 128)
HSLhsl(227, 24%, 40%)
HSVhsv(227, 39%, 50%)
CMYKcmyk(39.1%, 30.5%, 0%, 49.8%)
CIE-LABlab(38.42, 6.20, -23.28)
CIE-LCHlch(38.42, 24.09, 284.91°)
OKLaboklab(47.13% 0.0019 -0.0649)
OKLCHoklch(47.13% 0.065 271.7)
XYZxyz(10.6094, 10.3225, 21.8513)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5980 #80754E
analogous
#4E7280 #4E5980 #5C4E80
triadic
#4E5980 #804E59 #59804E
tetradic
#4E5980 #804E72 #80754E #4E805C
square
#4E5980 #804E72 #80754E #4E805C
split-complementary
#4E5980 #805C4E #72804E
monochromatic
#202434 #373F5A #4E5980 #6875A3 #8E98BA

Accessibility & contrast

On white

6.85
#4E5980 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#4E5980 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5980
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5980#FFFFFF#000000##FFFFFF
##4E59801.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5D82
Deuteranopia (green-blind)
#48597F
Tritanopia (blue-blind)
#3F6167
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4e5980;
/* rgb */ color: rgb(78, 89, 128);
/* oklch */ color: oklch(47.1% 0.065 271.7);
Tailwind
colors: {
  custom: {
    50: '#8187a5',
    500: '#4e5980',
    950: '#000000',
  },
}
SCSS
$custom: #4e5980;
$custom-light: #8187a5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5980",
  "rgb": {
    "r": 78,
    "g": 89,
    "b": 128
  },
  "hsl": {
    "h": 226.8,
    "s": 24.272,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47129,
    "c": 0.0649,
    "h": 271.7
  },
  "luminance": 0.10323
}

Semantic roles & 50–950 ramp

primary
#4E5980
secondary
#A79F83
accent
#AD67C1
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0A0B0F
muted
#7C7C7F

Preview Lab

Preview with #4E5980

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

Preview Lab → · Contrast checker → · Palette generator →

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