#4E4487#4E4487

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

Color values

HEX#4E4487
RGBrgb(78, 68, 135)
HSLhsl(249, 33%, 40%)
HSVhsv(249, 50%, 53%)
CMYKcmyk(42.2%, 49.6%, 0%, 47.1%)
CIE-LABlab(32.93, 21.81, -36.22)
CIE-LCHlch(32.93, 42.28, 301.06°)
OKLaboklab(43.05% 0.033 -0.1026)
OKLCHoklch(43.05% 0.108 287.8)
XYZxyz(9.5810, 7.5029, 23.8604)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4487 #7D8744
analogous
#445C87 #4E4487 #6F4487
triadic
#4E4487 #874E44 #44874E
tetradic
#4E4487 #87445C #7D8744 #44876F
square
#4E4487 #87445C #7D8744 #44876F
split-complementary
#4E4487 #876F44 #5C8744
monochromatic
#1F1B36 #362F5E #4E4487 #685CAD #8D84C1

Accessibility & contrast

On white

8.40
#4E4487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4487
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4487#FFFFFF#000000##FFFFFF
##4E44871.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4F89
Deuteranopia (green-blind)
#294C85
Tritanopia (blue-blind)
#3E525F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e4487;
/* rgb */ color: rgb(78, 68, 135);
/* oklch */ color: oklch(43.1% 0.108 287.8);
Tailwind
colors: {
  custom: {
    50: '#8378aa',
    500: '#4e4487',
    950: '#000000',
  },
}
SCSS
$custom: #4e4487;
$custom-light: #8378aa;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4487",
  "rgb": {
    "r": 78,
    "g": 68,
    "b": 135
  },
  "hsl": {
    "h": 248.955,
    "s": 33.005,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43052,
    "c": 0.10776,
    "h": 287.8
  },
  "luminance": 0.07503
}

Semantic roles & 50–950 ramp

primary
#4E4487
secondary
#A5AC7B
accent
#C95FB9
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4E4487

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

Preview Lab → · Contrast checker → · Palette generator →

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