#4E4581#4E4581

#4E4581 is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.9% C 0.097 H 288.5°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#4E4581
RGBrgb(78, 69, 129)
HSLhsl(249, 30%, 39%)
HSVhsv(249, 47%, 51%)
CMYKcmyk(39.5%, 46.5%, 0%, 49.4%)
CIE-LABlab(32.83, 19.35, -32.66)
CIE-LCHlch(32.83, 37.96, 300.64°)
OKLaboklab(42.87% 0.0308 -0.0921)
OKLCHoklch(42.87% 0.097 288.5)
XYZxyz(9.2314, 7.4606, 21.7183)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4581 #788145
analogous
#455A81 #4E4581 #6C4581
triadic
#4E4581 #814E45 #45814E
tetradic
#4E4581 #81455A #788145 #45816C
square
#4E4581 #81455A #788145 #45816C
split-complementary
#4E4581 #816C45 #5A8145
monochromatic
#1E1A31 #363059 #4E4581 #675CA8 #8C83BD

Accessibility & contrast

On white

8.43
#4E4581 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4E4581 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4581
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4581#FFFFFF#000000##FFFFFF
##4E45811.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304F83
Deuteranopia (green-blind)
#304C80
Tritanopia (blue-blind)
#40515C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e4581;
/* rgb */ color: rgb(78, 69, 129);
/* oklch */ color: oklch(42.9% 0.097 288.5);
Tailwind
colors: {
  custom: {
    50: '#8278a6',
    500: '#4e4581',
    950: '#000000',
  },
}
SCSS
$custom: #4e4581;
$custom-light: #8278a6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4581",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 129
  },
  "hsl": {
    "h": 249,
    "s": 30.303,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42867,
    "c": 0.09715,
    "h": 288.5
  },
  "luminance": 0.07461
}

Semantic roles & 50–950 ramp

primary
#4E4581
secondary
#A1A87A
accent
#C761B7
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B090F
muted
#7C7B7F

Preview Lab

Preview with #4E4581

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

Preview Lab → · Contrast checker → · Palette generator →

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