#4E4585#4E4585

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

Color values

HEX#4E4585
RGBrgb(78, 69, 133)
HSLhsl(248, 32%, 40%)
HSVhsv(248, 48%, 52%)
CMYKcmyk(41.4%, 48.1%, 0%, 47.8%)
CIE-LABlab(33.07, 20.56, -34.76)
CIE-LCHlch(33.07, 40.39, 300.60°)
OKLaboklab(43.12% 0.0314 -0.0983)
OKLCHoklch(43.12% 0.103 287.7)
XYZxyz(9.5025, 7.5691, 23.1461)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4585 #7C8545
analogous
#455C85 #4E4585 #6E4585
triadic
#4E4585 #854E45 #45854E
tetradic
#4E4585 #85455C #7C8545 #45856E
square
#4E4585 #85455C #7C8545 #45856E
split-complementary
#4E4585 #856E45 #5C8545
monochromatic
#1F1B34 #36305D #4E4585 #685DAB #8D85C0

Accessibility & contrast

On white

8.35
#4E4585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4585
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4585#FFFFFF#000000##FFFFFF
##4E45851.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e4585;
/* rgb */ color: rgb(78, 69, 133);
/* oklch */ color: oklch(43.1% 0.103 287.7);
Tailwind
colors: {
  custom: {
    50: '#8378a9',
    500: '#4e4585',
    950: '#000000',
  },
}
SCSS
$custom: #4e4585;
$custom-light: #8378a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4585",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 133
  },
  "hsl": {
    "h": 248.438,
    "s": 31.683,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43121,
    "c": 0.10317,
    "h": 287.7
  },
  "luminance": 0.07569
}

Semantic roles & 50–950 ramp

primary
#4E4585
secondary
#A4AB7B
accent
#C860B9
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4E4585

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

Preview Lab → · Contrast checker → · Palette generator →

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