#4E4A71#4E4A71

#4E4A71 is a dark, moderate blue. Relative luminance 0.077; OKLCH L 43.0% C 0.064 H 288.1°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#4E4A71
RGBrgb(78, 74, 113)
HSLhsl(246, 21%, 37%)
HSVhsv(246, 35%, 44%)
CMYKcmyk(31%, 34.5%, 0%, 55.7%)
CIE-LABlab(33.37, 11.41, -21.84)
CIE-LCHlch(33.37, 24.64, 297.58°)
OKLaboklab(43% 0.0199 -0.0607)
OKLCHoklch(43% 0.064 288.1)
XYZxyz(8.5705, 7.7093, 16.6561)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4A71 #6D714A
analogous
#4A5A71 #4E4A71 #624A71
triadic
#4E4A71 #714E4A #4A714E
tetradic
#4E4A71 #714A5A #6D714A #4A7162
square
#4E4A71 #714A5A #6D714A #4A7162
split-complementary
#4E4A71 #71624A #5A714A
monochromatic
#1B1A27 #34324C #4E4A71 #686296 #8A86B0

Accessibility & contrast

On white

8.26
#4E4A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4E4A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4A71
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4A71#FFFFFF#000000##FFFFFF
##4E4A711.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4F73
Deuteranopia (green-blind)
#3F4E70
Tritanopia (blue-blind)
#465158
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e4a71;
/* rgb */ color: rgb(78, 74, 113);
/* oklch */ color: oklch(43.0% 0.064 288.1);
Tailwind
colors: {
  custom: {
    50: '#807c9a',
    500: '#4e4a71',
    950: '#000000',
  },
}
SCSS
$custom: #4e4a71;
$custom-light: #807c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4a71",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 113
  },
  "hsl": {
    "h": 246.154,
    "s": 20.856,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42999,
    "c": 0.06389,
    "h": 288.1
  },
  "luminance": 0.0771
}

Semantic roles & 50–950 ramp

primary
#4E4A71
secondary
#999C7B
accent
#BD6AB5
background
#F7F7F9
surface
#EEEEF2
border
#C9C9CC
text
#0A090E
muted
#7C7B7E

Preview Lab

Preview with #4E4A71

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

Preview Lab → · Contrast checker → · Palette generator →

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