#4E4880#4E4880

#4E4880 is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.4% C 0.091 H 286.9°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#4E4880
RGBrgb(78, 72, 128)
HSLhsl(246, 28%, 39%)
HSVhsv(246, 44%, 50%)
CMYKcmyk(39.1%, 43.8%, 0%, 49.8%)
CIE-LABlab(33.59, 17.10, -30.84)
CIE-LCHlch(33.59, 35.27, 299.01°)
OKLaboklab(43.42% 0.0264 -0.0868)
OKLCHoklch(43.42% 0.091 286.9)
XYZxyz(9.3545, 7.8126, 21.4330)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4880 #7A8048
analogous
#485E80 #4E4880 #6A4880
triadic
#4E4880 #804E48 #48804E
tetradic
#4E4880 #80485E #7A8048 #48806A
square
#4E4880 #80485E #7A8048 #48806A
split-complementary
#4E4880 #806A48 #5E8048
monochromatic
#1E1C32 #363259 #4E4880 #6760A5 #8D87BB

Accessibility & contrast

On white

8.19
#4E4880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4E4880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4880
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4880#FFFFFF#000000##FFFFFF
##4E48801.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355082
Deuteranopia (green-blind)
#344D7F
Tritanopia (blue-blind)
#41535E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e4880;
/* rgb */ color: rgb(78, 72, 128);
/* oklch */ color: oklch(43.4% 0.091 286.9);
Tailwind
colors: {
  custom: {
    50: '#827ba5',
    500: '#4e4880',
    950: '#000000',
  },
}
SCSS
$custom: #4e4880;
$custom-light: #827ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4880",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 128
  },
  "hsl": {
    "h": 246.429,
    "s": 28,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43421,
    "c": 0.09073,
    "h": 286.9
  },
  "luminance": 0.07813
}

Semantic roles & 50–950 ramp

primary
#4E4880
secondary
#A3A77D
accent
#C463BA
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B090F
muted
#7C7B7F

Preview Lab

Preview with #4E4880

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

Preview Lab → · Contrast checker → · Palette generator →

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