#4E5172#4E5172

#4E5172 is a dark, muted blue. Relative luminance 0.087; OKLCH L 44.6% C 0.054 H 279.9°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#4E5172
RGBrgb(78, 81, 114)
HSLhsl(235, 19%, 38%)
HSVhsv(235, 32%, 45%)
CMYKcmyk(31.6%, 28.9%, 0%, 55.3%)
CIE-LABlab(35.44, 7.20, -19.26)
CIE-LCHlch(35.44, 20.56, 290.49°)
OKLaboklab(44.61% 0.0093 -0.0533)
OKLCHoklch(44.61% 0.054 279.9)
XYZxyz(9.1208, 8.7192, 17.1188)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5172 #726F4E
analogous
#4E6372 #4E5172 #5D4E72
triadic
#4E5172 #724E51 #51724E
tetradic
#4E5172 #724E63 #726F4E #4E725D
square
#4E5172 #724E63 #726F4E #4E725D
split-complementary
#4E5172 #725D4E #63724E
monochromatic
#1C1D29 #35374E #4E5172 #676B96 #8B8EB0

Accessibility & contrast

On white

7.65
#4E5172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#4E5172 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5172
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5172#FFFFFF#000000##FFFFFF
##4E51721.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475573
Deuteranopia (green-blind)
#465271
Tritanopia (blue-blind)
#45575D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e5172;
/* rgb */ color: rgb(78, 81, 114);
/* oklch */ color: oklch(44.6% 0.054 279.9);
Tailwind
colors: {
  custom: {
    50: '#80819a',
    500: '#4e5172',
    950: '#000000',
  },
}
SCSS
$custom: #4e5172;
$custom-light: #80819a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5172",
  "rgb": {
    "r": 78,
    "g": 81,
    "b": 114
  },
  "hsl": {
    "h": 235,
    "s": 18.75,
    "l": 37.647
  },
  "oklch": {
    "l": 0.44609,
    "c": 0.05415,
    "h": 279.9
  },
  "luminance": 0.08719
}

Semantic roles & 50–950 ramp

primary
#4E5172
secondary
#9D9A7F
accent
#B56CBB
background
#F7F7F9
surface
#EEEEF2
border
#C9C9CC
text
#0A0A0E
muted
#7C7C7E

Preview Lab

Preview with #4E5172

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

Preview Lab → · Contrast checker → · Palette generator →

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