#4E4871#4E4871

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

Color values

HEX#4E4871
RGBrgb(78, 72, 113)
HSLhsl(249, 22%, 36%)
HSVhsv(249, 36%, 44%)
CMYKcmyk(31%, 36.3%, 0%, 55.7%)
CIE-LABlab(32.80, 12.70, -22.73)
CIE-LCHlch(32.80, 26.04, 299.21°)
OKLaboklab(42.56% 0.023 -0.0633)
OKLCHoklch(42.56% 0.067 289.9)
XYZxyz(8.4391, 7.4465, 16.6123)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4871 #6B7148
analogous
#485771 #4E4871 #634871
triadic
#4E4871 #714E48 #48714E
tetradic
#4E4871 #714857 #6B7148 #487163
square
#4E4871 #714857 #6B7148 #487163
split-complementary
#4E4871 #716348 #577148
monochromatic
#1A1826 #34304C #4E4871 #686096 #8A83B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E4871#FFFFFF#000000##FFFFFF
##4E48711.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)
#3D4E73
Deuteranopia (green-blind)
#3D4C70
Tritanopia (blue-blind)
#464F57
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e4871;
/* rgb */ color: rgb(78, 72, 113);
/* oklch */ color: oklch(42.6% 0.067 289.9);
Tailwind
colors: {
  custom: {
    50: '#817b9a',
    500: '#4e4871',
    950: '#000000',
  },
}
SCSS
$custom: #4e4871;
$custom-light: #817b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4871",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 113
  },
  "hsl": {
    "h": 248.78,
    "s": 22.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42563,
    "c": 0.0673,
    "h": 289.9
  },
  "luminance": 0.07447
}

Semantic roles & 50–950 ramp

primary
#4E4871
secondary
#979C78
accent
#BF69B2
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#0A090E
muted
#7C7B7E

Preview Lab

Preview with #4E4871

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

Preview Lab → · Contrast checker → · Palette generator →

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