#4E4582#4E4582

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

Color values

HEX#4E4582
RGBrgb(78, 69, 130)
HSLhsl(249, 31%, 39%)
HSVhsv(249, 47%, 51%)
CMYKcmyk(40%, 46.9%, 0%, 49%)
CIE-LABlab(32.89, 19.65, -33.19)
CIE-LCHlch(32.89, 38.57, 300.62°)
OKLaboklab(42.93% 0.031 -0.0937)
OKLCHoklch(42.93% 0.099 288.3)
XYZxyz(9.2982, 7.4874, 22.0701)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4582 #798245
analogous
#455B82 #4E4582 #6D4582
triadic
#4E4582 #824E45 #45824E
tetradic
#4E4582 #82455B #798245 #45826D
square
#4E4582 #82455B #798245 #45826D
split-complementary
#4E4582 #826D45 #5B8245
monochromatic
#1E1B32 #36305A #4E4582 #675CA8 #8C84BE

Accessibility & contrast

On white

8.41
#4E4582 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4E4582 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4582
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4582#FFFFFF#000000##FFFFFF
##4E45821.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4F84
Deuteranopia (green-blind)
#2F4C81
Tritanopia (blue-blind)
#40515D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e4582;
/* rgb */ color: rgb(78, 69, 130);
/* oklch */ color: oklch(42.9% 0.099 288.3);
Tailwind
colors: {
  custom: {
    50: '#8278a6',
    500: '#4e4582',
    950: '#000000',
  },
}
SCSS
$custom: #4e4582;
$custom-light: #8278a6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4582",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 130
  },
  "hsl": {
    "h": 248.852,
    "s": 30.653,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4293,
    "c": 0.09866,
    "h": 288.3
  },
  "luminance": 0.07488
}

Semantic roles & 50–950 ramp

primary
#4E4582
secondary
#A2A97A
accent
#C761B8
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B090F
muted
#7C7B7F

Preview Lab

Preview with #4E4582

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

Preview Lab → · Contrast checker → · Palette generator →

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