#555171#555171

#555171 is a mid, muted blue. Relative luminance 0.090; OKLCH L 45.2% C 0.052 H 289.9°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#555171
RGBrgb(85, 81, 113)
HSLhsl(248, 16%, 38%)
HSVhsv(248, 28%, 44%)
CMYKcmyk(24.8%, 28.3%, 0%, 55.7%)
CIE-LABlab(36.00, 9.27, -17.72)
CIE-LCHlch(36.00, 20.00, 297.61°)
OKLaboklab(45.18% 0.0177 -0.0488)
OKLCHoklch(45.18% 0.052 289.9)
XYZxyz(9.6687, 9.0083, 16.8490)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#555171 #6D7151
analogous
#515D71 #555171 #655171
triadic
#555171 #715551 #517155
tetradic
#555171 #71515D #6D7151 #517165
square
#555171 #71515D #6D7151 #517165
split-complementary
#555171 #716551 #5D7151
monochromatic
#1F1E2A #3A374D #555171 #706B95 #928EAE

Accessibility & contrast

On white

7.50
#555171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#555171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #555171
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##555171#FFFFFF#000000##FFFFFF
##5551711.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495572
Deuteranopia (green-blind)
#495470
Tritanopia (blue-blind)
#4F565C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #555171;
/* rgb */ color: rgb(85, 81, 113);
/* oklch */ color: oklch(45.2% 0.052 289.9);
Tailwind
colors: {
  custom: {
    50: '#85819a',
    500: '#555171',
    950: '#000000',
  },
}
SCSS
$custom: #555171;
$custom-light: #85819a;
$custom-dark: #000000;
JSON
{
  "hex": "#555171",
  "rgb": {
    "r": 85,
    "g": 81,
    "b": 113
  },
  "hsl": {
    "h": 247.5,
    "s": 16.495,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4518,
    "c": 0.05193,
    "h": 289.9
  },
  "luminance": 0.09008
}

Semantic roles & 50–950 ramp

primary
#555171
secondary
#999C82
accent
#B96FB0
background
#F8F7F9
surface
#EFEEF2
border
#CAC9CC
text
#0B0A0E
muted
#7C7C7E

Preview Lab

Preview with #555171

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

Preview Lab → · Contrast checker → · Palette generator →

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