#4E5162#4E5162

#4E5162 is a dark, muted blue. Relative luminance 0.084; OKLCH L 43.9% C 0.028 H 277.3°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#4E5162
RGBrgb(78, 81, 98)
HSLhsl(231, 11%, 35%)
HSVhsv(231, 20%, 38%)
CMYKcmyk(20.4%, 17.3%, 0%, 61.6%)
CIE-LABlab(34.77, 2.87, -10.27)
CIE-LCHlch(34.77, 10.66, 285.61°)
OKLaboklab(43.87% 0.0036 -0.028)
OKLCHoklch(43.87% 0.028 277.3)
XYZxyz(8.2884, 8.3863, 12.7349)
Luminance0.0839 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5162 #625F4E
analogous
#4E5B62 #4E5162 #554E62
triadic
#4E5162 #624E51 #51624E
tetradic
#4E5162 #624E5B #625F4E #4E6255
square
#4E5162 #624E5B #625F4E #4E6255
split-complementary
#4E5162 #62554E #5B624E
monochromatic
#18191E #333540 #4E5162 #696D84 #898DA1

Accessibility & contrast

On white

7.84
#4E5162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#4E5162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5162
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5162#FFFFFF#000000##FFFFFF
##4E51621.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5363
Deuteranopia (green-blind)
#4B5162
Tritanopia (blue-blind)
#495457
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e5162;
/* rgb */ color: rgb(78, 81, 98);
/* oklch */ color: oklch(43.9% 0.028 277.3);
Tailwind
colors: {
  custom: {
    50: '#7f818e',
    500: '#4e5162',
    950: '#000000',
  },
}
SCSS
$custom: #4e5162;
$custom-light: #7f818e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5162",
  "rgb": {
    "r": 78,
    "g": 81,
    "b": 98
  },
  "hsl": {
    "h": 231,
    "s": 11.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43874,
    "c": 0.02819,
    "h": 277.3
  },
  "luminance": 0.08386
}

Semantic roles & 50–950 ramp

primary
#4E5162
secondary
#908D7C
accent
#AB74B4
background
#F7F7F8
surface
#EEEEF0
border
#C9C9CB
text
#0A0A0C
muted
#7C7C7D

Preview Lab

Preview with #4E5162

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

Preview Lab → · Contrast checker → · Palette generator →

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