#545862#545862

#545862 is a mid, near-neutral grey. Relative luminance 0.097; OKLCH L 46.0% C 0.017 H 268.3°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#545862
RGBrgb(84, 88, 98)
HSLhsl(223, 8%, 36%)
HSVhsv(223, 14%, 38%)
CMYKcmyk(14.3%, 10.2%, 0%, 61.6%)
CIE-LABlab(37.38, 0.72, -6.30)
CIE-LCHlch(37.38, 6.34, 276.49°)
OKLaboklab(46.04% -0.0005 -0.017)
OKLCHoklch(46.04% 0.017 268.3)
XYZxyz(9.3500, 9.7460, 12.9415)
Luminance0.0975 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545862 #625E54
analogous
#545F62 #545862 #575462
triadic
#545862 #625458 #586254
tetradic
#545862 #62545F #625E54 #546257
square
#545862 #62545F #625E54 #546257
split-complementary
#545862 #625754 #5F6254
monochromatic
#1C1D20 #383A41 #545862 #707683 #9095A0

Accessibility & contrast

On white

7.12
#545862 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#545862 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545862
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545862#FFFFFF#000000##FFFFFF
##5458621.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555962
Deuteranopia (green-blind)
#545762
Tritanopia (blue-blind)
#515A5B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #545862;
/* rgb */ color: rgb(84, 88, 98);
/* oklch */ color: oklch(46.0% 0.017 268.3);
Tailwind
colors: {
  custom: {
    50: '#84878e',
    500: '#545862',
    950: '#000000',
  },
}
SCSS
$custom: #545862;
$custom-light: #84878e;
$custom-dark: #000000;
JSON
{
  "hex": "#545862",
  "rgb": {
    "r": 84,
    "g": 88,
    "b": 98
  },
  "hsl": {
    "h": 222.857,
    "s": 7.692,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46043,
    "c": 0.017,
    "h": 268.3
  },
  "luminance": 0.09746
}

Semantic roles & 50–950 ramp

primary
#545862
secondary
#8F8C83
accent
#A077B1
background
#F8F8F8
surface
#EFEFF0
border
#CACACB
text
#0A0B0C
muted
#7C7C7D

Preview Lab

Preview with #545862

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

Preview Lab → · Contrast checker → · Palette generator →

#545862 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva