#4E5280#4E5280

#4E5280 is a mid, moderate blue. Relative luminance 0.092; OKLCH L 45.6% C 0.075 H 279.2°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#4E5280
RGBrgb(78, 82, 128)
HSLhsl(235, 24%, 40%)
HSVhsv(235, 39%, 50%)
CMYKcmyk(39.1%, 35.9%, 0%, 49.8%)
CIE-LABlab(36.39, 10.65, -26.44)
CIE-LCHlch(36.39, 28.50, 291.94°)
OKLaboklab(45.56% 0.012 -0.074)
OKLCHoklch(45.56% 0.075 279.2)
XYZxyz(10.0543, 9.2124, 21.6663)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5280 #807C4E
analogous
#4E6B80 #4E5280 #634E80
triadic
#4E5280 #804E52 #52804E
tetradic
#4E5280 #804E6B #807C4E #4E8063
square
#4E5280 #804E6B #807C4E #4E8063
split-complementary
#4E5280 #80634E #6B804E
monochromatic
#202134 #373A5A #4E5280 #686DA3 #8E92BA

Accessibility & contrast

On white

7.39
#4E5280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#4E5280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5280
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5280#FFFFFF#000000##FFFFFF
##4E52801.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435882
Deuteranopia (green-blind)
#40547F
Tritanopia (blue-blind)
#405B63
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e5280;
/* rgb */ color: rgb(78, 82, 128);
/* oklch */ color: oklch(45.6% 0.075 279.2);
Tailwind
colors: {
  custom: {
    50: '#8182a5',
    500: '#4e5280',
    950: '#000000',
  },
}
SCSS
$custom: #4e5280;
$custom-light: #8182a5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5280",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 128
  },
  "hsl": {
    "h": 235.2,
    "s": 24.272,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45563,
    "c": 0.07495,
    "h": 279.2
  },
  "luminance": 0.09213
}

Semantic roles & 50–950 ramp

primary
#4E5280
secondary
#A7A483
accent
#BA67C1
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0A0A0F
muted
#7C7C7F

Preview Lab

Preview with #4E5280

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

Preview Lab → · Contrast checker → · Palette generator →

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