#4E4C81#4E4C81

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

Color values

HEX#4E4C81
RGBrgb(78, 76, 129)
HSLhsl(242, 26%, 40%)
HSVhsv(242, 41%, 51%)
CMYKcmyk(39.5%, 41.1%, 0%, 49.4%)
CIE-LABlab(34.75, 14.82, -29.63)
CIE-LCHlch(34.75, 33.13, 296.57°)
OKLaboklab(44.32% 0.0208 -0.0833)
OKLCHoklch(44.32% 0.086 284)
XYZxyz(9.6877, 8.3732, 21.8704)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4C81 #7F814C
analogous
#4C6481 #4E4C81 #684C81
triadic
#4E4C81 #814E4C #4C814E
tetradic
#4E4C81 #814C64 #7F814C #4C8168
square
#4E4C81 #814C64 #7F814C #4C8168
split-complementary
#4E4C81 #81684C #64814C
monochromatic
#1F1F34 #37355A #4E4C81 #6866A5 #8E8CBB

Accessibility & contrast

On white

7.85
#4E4C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4C81
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4C81#FFFFFF#000000##FFFFFF
##4E4C811.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5383
Deuteranopia (green-blind)
#385080
Tritanopia (blue-blind)
#405660
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e4c81;
/* rgb */ color: rgb(78, 76, 129);
/* oklch */ color: oklch(44.3% 0.086 284.0);
Tailwind
colors: {
  custom: {
    50: '#827ea6',
    500: '#4e4c81',
    950: '#000000',
  },
}
SCSS
$custom: #4e4c81;
$custom-light: #827ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4c81",
  "rgb": {
    "r": 78,
    "g": 76,
    "b": 129
  },
  "hsl": {
    "h": 242.264,
    "s": 25.854,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44321,
    "c": 0.08584,
    "h": 284
  },
  "luminance": 0.08374
}

Semantic roles & 50–950 ramp

primary
#4E4C81
secondary
#A6A881
accent
#C266BF
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B090F
muted
#7C7B7F

Preview Lab

Preview with #4E4C81

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

Preview Lab → · Contrast checker → · Palette generator →

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