#545170#545170

#545170 is a mid, muted blue. Relative luminance 0.089; OKLCH L 45.0% C 0.050 H 288.6°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#545170
RGBrgb(84, 81, 112)
HSLhsl(246, 16%, 38%)
HSVhsv(246, 28%, 44%)
CMYKcmyk(25%, 27.7%, 0%, 56.1%)
CIE-LABlab(35.87, 8.66, -17.31)
CIE-LCHlch(35.87, 19.35, 296.57°)
OKLaboklab(45.04% 0.0161 -0.0477)
OKLCHoklch(45.04% 0.05 288.6)
XYZxyz(9.5225, 8.9394, 16.5499)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545170 #6D7051
analogous
#515D70 #545170 #635170
triadic
#545170 #705451 #517054
tetradic
#545170 #70515D #6D7051 #517063
square
#545170 #70515D #6D7051 #517063
split-complementary
#545170 #706351 #5D7051
monochromatic
#1F1E29 #39374C #545170 #6F6B94 #918EAD

Accessibility & contrast

On white

7.53
#545170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#545170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545170
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545170#FFFFFF#000000##FFFFFF
##5451701.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495571
Deuteranopia (green-blind)
#49546F
Tritanopia (blue-blind)
#4E565C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #545170;
/* rgb */ color: rgb(84, 81, 112);
/* oklch */ color: oklch(45.0% 0.050 288.6);
Tailwind
colors: {
  custom: {
    50: '#848199',
    500: '#545170',
    950: '#000000',
  },
}
SCSS
$custom: #545170;
$custom-light: #848199;
$custom-dark: #000000;
JSON
{
  "hex": "#545170",
  "rgb": {
    "r": 84,
    "g": 81,
    "b": 112
  },
  "hsl": {
    "h": 245.806,
    "s": 16.062,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45041,
    "c": 0.05032,
    "h": 288.6
  },
  "luminance": 0.0894
}

Semantic roles & 50–950 ramp

primary
#545170
secondary
#999B82
accent
#B96FB2
background
#F8F7F9
surface
#EFEEF2
border
#CAC9CC
text
#0B0A0E
muted
#7C7C7E

Preview Lab

Preview with #545170

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

Preview Lab → · Contrast checker → · Palette generator →

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