#4E4580#4E4580

#4E4580 is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.8% C 0.096 H 288.7°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#4E4580
RGBrgb(78, 69, 128)
HSLhsl(249, 30%, 39%)
HSVhsv(249, 46%, 50%)
CMYKcmyk(39.1%, 46.1%, 0%, 49.8%)
CIE-LABlab(32.78, 19.04, -32.13)
CIE-LCHlch(32.78, 37.35, 300.65°)
OKLaboklab(42.8% 0.0307 -0.0906)
OKLCHoklch(42.8% 0.096 288.7)
XYZxyz(9.1652, 7.4342, 21.3699)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4580 #778045
analogous
#455980 #4E4580 #6B4580
triadic
#4E4580 #804E45 #45804E
tetradic
#4E4580 #804559 #778045 #45806B
square
#4E4580 #804559 #778045 #45806B
split-complementary
#4E4580 #806B45 #598045
monochromatic
#1E1A30 #363058 #4E4580 #675BA7 #8C83BC

Accessibility & contrast

On white

8.44
#4E4580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4E4580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4580
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4580#FFFFFF#000000##FFFFFF
##4E45801.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304E82
Deuteranopia (green-blind)
#304C7F
Tritanopia (blue-blind)
#41515C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e4580;
/* rgb */ color: rgb(78, 69, 128);
/* oklch */ color: oklch(42.8% 0.096 288.7);
Tailwind
colors: {
  custom: {
    50: '#8278a5',
    500: '#4e4580',
    950: '#000000',
  },
}
SCSS
$custom: #4e4580;
$custom-light: #8278a5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4580",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 128
  },
  "hsl": {
    "h": 249.153,
    "s": 29.949,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42804,
    "c": 0.09563,
    "h": 288.7
  },
  "luminance": 0.07434
}

Semantic roles & 50–950 ramp

primary
#4E4580
secondary
#A1A879
accent
#C662B7
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B090F
muted
#7C7B7F

Preview Lab

Preview with #4E4580

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

Preview Lab → · Contrast checker → · Palette generator →

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