#4E4971#4E4971

#4E4971 is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.8% C 0.066 H 289.0°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#4E4971
RGBrgb(78, 73, 113)
HSLhsl(248, 22%, 36%)
HSVhsv(248, 35%, 44%)
CMYKcmyk(31%, 35.4%, 0%, 55.7%)
CIE-LABlab(33.09, 12.06, -22.29)
CIE-LCHlch(33.09, 25.34, 298.41°)
OKLaboklab(42.78% 0.0214 -0.062)
OKLCHoklch(42.78% 0.066 289)
XYZxyz(8.5043, 7.5769, 16.6340)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4971 #6C7149
analogous
#495871 #4E4971 #624971
triadic
#4E4971 #714E49 #49714E
tetradic
#4E4971 #714958 #6C7149 #497162
square
#4E4971 #714958 #6C7149 #497162
split-complementary
#4E4971 #716249 #587149
monochromatic
#1B1927 #34314C #4E4971 #686196 #8A85B0

Accessibility & contrast

On white

8.35
#4E4971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4E4971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4971
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4971#FFFFFF#000000##FFFFFF
##4E49711.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4F73
Deuteranopia (green-blind)
#3E4D70
Tritanopia (blue-blind)
#465058
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e4971;
/* rgb */ color: rgb(78, 73, 113);
/* oklch */ color: oklch(42.8% 0.066 289.0);
Tailwind
colors: {
  custom: {
    50: '#807b9a',
    500: '#4e4971',
    950: '#000000',
  },
}
SCSS
$custom: #4e4971;
$custom-light: #807b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4971",
  "rgb": {
    "r": 78,
    "g": 73,
    "b": 113
  },
  "hsl": {
    "h": 247.5,
    "s": 21.505,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4278,
    "c": 0.06559,
    "h": 289
  },
  "luminance": 0.07577
}

Semantic roles & 50–950 ramp

primary
#4E4971
secondary
#989C79
accent
#BE6AB4
background
#F7F7F9
surface
#EEEEF2
border
#C9C9CC
text
#0A090E
muted
#7C7B7E

Preview Lab

Preview with #4E4971

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

Preview Lab → · Contrast checker → · Palette generator →

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