#4E4781#4E4781

#4E4781 is a dark, moderate blue. Relative luminance 0.077; OKLCH L 43.3% C 0.094 H 287.3°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#4E4781
RGBrgb(78, 71, 129)
HSLhsl(247, 29%, 39%)
HSVhsv(247, 45%, 51%)
CMYKcmyk(39.5%, 45%, 0%, 49.4%)
CIE-LABlab(33.37, 18.05, -31.80)
CIE-LCHlch(33.37, 36.57, 299.58°)
OKLaboklab(43.28% 0.028 -0.0896)
OKLCHoklch(43.28% 0.094 287.3)
XYZxyz(9.3565, 7.7109, 21.7600)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4781 #7A8147
analogous
#475D81 #4E4781 #6B4781
triadic
#4E4781 #814E47 #47814E
tetradic
#4E4781 #81475D #7A8147 #47816B
square
#4E4781 #81475D #7A8147 #47816B
split-complementary
#4E4781 #816B47 #5D8147
monochromatic
#1E1C32 #36315A #4E4781 #675FA7 #8D86BC

Accessibility & contrast

On white

8.26
#4E4781 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4E4781 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4781
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4781#FFFFFF#000000##FFFFFF
##4E47811.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335083
Deuteranopia (green-blind)
#324D80
Tritanopia (blue-blind)
#40525D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e4781;
/* rgb */ color: rgb(78, 71, 129);
/* oklch */ color: oklch(43.3% 0.094 287.3);
Tailwind
colors: {
  custom: {
    50: '#827aa6',
    500: '#4e4781',
    950: '#000000',
  },
}
SCSS
$custom: #4e4781;
$custom-light: #827aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4781",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 129
  },
  "hsl": {
    "h": 247.241,
    "s": 29,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43275,
    "c": 0.09389,
    "h": 287.3
  },
  "luminance": 0.07711
}

Semantic roles & 50–950 ramp

primary
#4E4781
secondary
#A3A87C
accent
#C563B9
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B090F
muted
#7C7B7F

Preview Lab

Preview with #4E4781

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

Preview Lab → · Contrast checker → · Palette generator →

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