#4E4873#4E4873

#4E4873 is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.7% C 0.070 H 289.5°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#4E4873
RGBrgb(78, 72, 115)
HSLhsl(248, 23%, 37%)
HSVhsv(248, 37%, 45%)
CMYKcmyk(32.2%, 37.4%, 0%, 54.9%)
CIE-LABlab(32.90, 13.28, -23.83)
CIE-LCHlch(32.90, 27.27, 299.13°)
OKLaboklab(42.67% 0.0235 -0.0664)
OKLCHoklch(42.67% 0.07 289.5)
XYZxyz(8.5530, 7.4921, 17.2118)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4873 #6D7348
analogous
#485873 #4E4873 #644873
triadic
#4E4873 #734E48 #48734E
tetradic
#4E4873 #734858 #6D7348 #487364
square
#4E4873 #734858 #6D7348 #487364
split-complementary
#4E4873 #736448 #587348
monochromatic
#1B1928 #34304D #4E4873 #686099 #8A84B2

Accessibility & contrast

On white

8.41
#4E4873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4873
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4873#FFFFFF#000000##FFFFFF
##4E48731.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4E75
Deuteranopia (green-blind)
#3C4C72
Tritanopia (blue-blind)
#455058
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e4873;
/* rgb */ color: rgb(78, 72, 115);
/* oklch */ color: oklch(42.7% 0.070 289.5);
Tailwind
colors: {
  custom: {
    50: '#817b9b',
    500: '#4e4873',
    950: '#000000',
  },
}
SCSS
$custom: #4e4873;
$custom-light: #817b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4873",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 115
  },
  "hsl": {
    "h": 248.372,
    "s": 22.995,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42672,
    "c": 0.07047,
    "h": 289.5
  },
  "luminance": 0.07492
}

Semantic roles & 50–950 ramp

primary
#4E4873
secondary
#999E79
accent
#BF68B3
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#0A090E
muted
#7C7B7E

Preview Lab

Preview with #4E4873

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

Preview Lab → · Contrast checker → · Palette generator →

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