#4E4681#4E4681

#4E4681 is a dark, moderate blue. Relative luminance 0.076; OKLCH L 43.1% C 0.096 H 287.9°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#4E4681
RGBrgb(78, 70, 129)
HSLhsl(248, 30%, 39%)
HSVhsv(248, 46%, 51%)
CMYKcmyk(39.5%, 45.7%, 0%, 49.4%)
CIE-LABlab(33.10, 18.70, -32.23)
CIE-LCHlch(33.10, 37.26, 300.12°)
OKLaboklab(43.07% 0.0294 -0.0909)
OKLCHoklch(43.07% 0.096 287.9)
XYZxyz(9.2934, 7.5847, 21.7390)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4681 #798146
analogous
#465C81 #4E4681 #6C4681
triadic
#4E4681 #814E46 #46814E
tetradic
#4E4681 #81465C #798146 #46816C
square
#4E4681 #81465C #798146 #46816C
split-complementary
#4E4681 #816C46 #5C8146
monochromatic
#1E1B32 #363059 #4E4681 #675DA7 #8C85BD

Accessibility & contrast

On white

8.34
#4E4681 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4E4681 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4681
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4681#FFFFFF#000000##FFFFFF
##4E46811.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314F83
Deuteranopia (green-blind)
#314C80
Tritanopia (blue-blind)
#40525D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e4681;
/* rgb */ color: rgb(78, 70, 129);
/* oklch */ color: oklch(43.1% 0.096 287.9);
Tailwind
colors: {
  custom: {
    50: '#8279a6',
    500: '#4e4681',
    950: '#000000',
  },
}
SCSS
$custom: #4e4681;
$custom-light: #8279a6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4681",
  "rgb": {
    "r": 78,
    "g": 70,
    "b": 129
  },
  "hsl": {
    "h": 248.136,
    "s": 29.648,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4307,
    "c": 0.09551,
    "h": 287.9
  },
  "luminance": 0.07585
}

Semantic roles & 50–950 ramp

primary
#4E4681
secondary
#A2A87B
accent
#C662B8
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B090F
muted
#7C7B7F

Preview Lab

Preview with #4E4681

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

Preview Lab → · Contrast checker → · Palette generator →

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