#4E5174#4E5174

#4E5174 is a dark, muted blue. Relative luminance 0.088; OKLCH L 44.7% C 0.057 H 280.0°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#4E5174
RGBrgb(78, 81, 116)
HSLhsl(235, 20%, 38%)
HSVhsv(235, 33%, 45%)
CMYKcmyk(32.8%, 30.2%, 0%, 54.5%)
CIE-LABlab(35.53, 7.77, -20.36)
CIE-LCHlch(35.53, 21.79, 290.88°)
OKLaboklab(44.71% 0.01 -0.0565)
OKLCHoklch(44.71% 0.057 280)
XYZxyz(9.2358, 8.7652, 17.7249)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5174 #74714E
analogous
#4E6474 #4E5174 #5E4E74
triadic
#4E5174 #744E51 #51744E
tetradic
#4E5174 #744E64 #74714E #4E745E
square
#4E5174 #744E64 #74714E #4E745E
split-complementary
#4E5174 #745E4E #64744E
monochromatic
#1D1E2B #35374F #4E5174 #676B99 #8B8EB1

Accessibility & contrast

On white

7.63
#4E5174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#4E5174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5174
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5174#FFFFFF#000000##FFFFFF
##4E51741.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475575
Deuteranopia (green-blind)
#455273
Tritanopia (blue-blind)
#44575D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e5174;
/* rgb */ color: rgb(78, 81, 116);
/* oklch */ color: oklch(44.7% 0.057 280.0);
Tailwind
colors: {
  custom: {
    50: '#80819c',
    500: '#4e5174',
    950: '#000000',
  },
}
SCSS
$custom: #4e5174;
$custom-light: #80819c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5174",
  "rgb": {
    "r": 78,
    "g": 81,
    "b": 116
  },
  "hsl": {
    "h": 235.263,
    "s": 19.588,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44709,
    "c": 0.05737,
    "h": 280
  },
  "luminance": 0.08766
}

Semantic roles & 50–950 ramp

primary
#4E5174
secondary
#9E9C80
accent
#B66CBC
background
#F7F7F9
surface
#EEEEF2
border
#C9C9CC
text
#0A0A0E
muted
#7C7C7E

Preview Lab

Preview with #4E5174

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

Preview Lab → · Contrast checker → · Palette generator →

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