#4E4C80#4E4C80

#4E4C80 is a dark, moderate blue. Relative luminance 0.083; OKLCH L 44.3% C 0.084 H 284.1°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#4E4C80
RGBrgb(78, 76, 128)
HSLhsl(242, 25%, 40%)
HSVhsv(242, 41%, 50%)
CMYKcmyk(39.1%, 40.6%, 0%, 49.8%)
CIE-LABlab(34.69, 14.51, -29.10)
CIE-LCHlch(34.69, 32.52, 296.51°)
OKLaboklab(44.26% 0.0206 -0.0817)
OKLCHoklch(44.26% 0.084 284.1)
XYZxyz(9.6215, 8.3468, 21.5220)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4C80 #7E804C
analogous
#4C6480 #4E4C80 #684C80
triadic
#4E4C80 #804E4C #4C804E
tetradic
#4E4C80 #804C64 #7E804C #4C8068
square
#4E4C80 #804C64 #7E804C #4C8068
split-complementary
#4E4C80 #80684C #64804C
monochromatic
#1F1E33 #37355A #4E4C80 #6865A4 #8E8CBB

Accessibility & contrast

On white

7.87
#4E4C80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4E4C80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4C80
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4C80#FFFFFF#000000##FFFFFF
##4E4C801.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5382
Deuteranopia (green-blind)
#39507F
Tritanopia (blue-blind)
#405660
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e4c80;
/* rgb */ color: rgb(78, 76, 128);
/* oklch */ color: oklch(44.3% 0.084 284.1);
Tailwind
colors: {
  custom: {
    50: '#827ea5',
    500: '#4e4c80',
    950: '#000000',
  },
}
SCSS
$custom: #4e4c80;
$custom-light: #827ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4c80",
  "rgb": {
    "r": 78,
    "g": 76,
    "b": 128
  },
  "hsl": {
    "h": 242.308,
    "s": 25.49,
    "l": 40
  },
  "oklch": {
    "l": 0.44263,
    "c": 0.08429,
    "h": 284.1
  },
  "luminance": 0.08347
}

Semantic roles & 50–950 ramp

primary
#4E4C80
secondary
#A6A781
accent
#C266BE
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0A090F
muted
#7C7B7F

Preview Lab

Preview with #4E4C80

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

Preview Lab → · Contrast checker → · Palette generator →

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