#4E4587#4E4587

#4E4587 is a dark, moderate blue. Relative luminance 0.076; OKLCH L 43.3% C 0.106 H 287.4°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#4E4587
RGBrgb(78, 69, 135)
HSLhsl(248, 32%, 40%)
HSVhsv(248, 49%, 53%)
CMYKcmyk(42.2%, 48.9%, 0%, 47.1%)
CIE-LABlab(33.19, 21.17, -35.80)
CIE-LCHlch(33.19, 41.59, 300.59°)
OKLaboklab(43.25% 0.0317 -0.1013)
OKLCHoklch(43.25% 0.106 287.4)
XYZxyz(9.6420, 7.6249, 23.8807)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4587 #7E8745
analogous
#455D87 #4E4587 #6F4587
triadic
#4E4587 #874E45 #45874E
tetradic
#4E4587 #87455D #7E8745 #45876F
square
#4E4587 #87455D #7E8745 #45876F
split-complementary
#4E4587 #876F45 #5D8745
monochromatic
#1F1C36 #37305F #4E4587 #685DAC #8E85C1

Accessibility & contrast

On white

8.32
#4E4587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4E4587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4587
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4587#FFFFFF#000000##FFFFFF
##4E45871.008.322.538.32
#FFFFFF8.321.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5089
Deuteranopia (green-blind)
#2B4C85
Tritanopia (blue-blind)
#3E525F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e4587;
/* rgb */ color: rgb(78, 69, 135);
/* oklch */ color: oklch(43.3% 0.106 287.4);
Tailwind
colors: {
  custom: {
    50: '#8378aa',
    500: '#4e4587',
    950: '#000000',
  },
}
SCSS
$custom: #4e4587;
$custom-light: #8378aa;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4587",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 135
  },
  "hsl": {
    "h": 248.182,
    "s": 32.353,
    "l": 40
  },
  "oklch": {
    "l": 0.43251,
    "c": 0.10616,
    "h": 287.4
  },
  "luminance": 0.07625
}

Semantic roles & 50–950 ramp

primary
#4E4587
secondary
#A6AC7C
accent
#C95FBA
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4E4587

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

Preview Lab → · Contrast checker → · Palette generator →

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