#4E4584#4E4584

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

Color values

HEX#4E4584
RGBrgb(78, 69, 132)
HSLhsl(249, 31%, 39%)
HSVhsv(249, 48%, 52%)
CMYKcmyk(40.9%, 47.7%, 0%, 48.2%)
CIE-LABlab(33.01, 20.25, -34.24)
CIE-LCHlch(33.01, 39.78, 300.61°)
OKLaboklab(43.06% 0.0313 -0.0967)
OKLCHoklch(43.06% 0.102 287.9)
XYZxyz(9.4337, 7.5416, 22.7839)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4584 #7B8445
analogous
#455C84 #4E4584 #6E4584
triadic
#4E4584 #844E45 #45844E
tetradic
#4E4584 #84455C #7B8445 #45846E
square
#4E4584 #84455C #7B8445 #45846E
split-complementary
#4E4584 #846E45 #5C8445
monochromatic
#1F1B34 #36305C #4E4584 #675CAA #8D84BF

Accessibility & contrast

On white

8.37
#4E4584 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4E4584 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4584
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4584#FFFFFF#000000##FFFFFF
##4E45841.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4F86
Deuteranopia (green-blind)
#2D4C83
Tritanopia (blue-blind)
#3F525E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e4584;
/* rgb */ color: rgb(78, 69, 132);
/* oklch */ color: oklch(43.1% 0.102 287.9);
Tailwind
colors: {
  custom: {
    50: '#8278a8',
    500: '#4e4584',
    950: '#000000',
  },
}
SCSS
$custom: #4e4584;
$custom-light: #8278a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4584",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 132
  },
  "hsl": {
    "h": 248.571,
    "s": 31.343,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43057,
    "c": 0.10167,
    "h": 287.9
  },
  "luminance": 0.07542
}

Semantic roles & 50–950 ramp

primary
#4E4584
secondary
#A3AA7B
accent
#C860B9
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B090F
muted
#7C7B7F

Preview Lab

Preview with #4E4584

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

Preview Lab → · Contrast checker → · Palette generator →

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