#545271#545271

#545271 is a mid, muted blue. Relative luminance 0.091; OKLCH L 45.3% C 0.050 H 287.2°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#545271
RGBrgb(84, 82, 113)
HSLhsl(244, 16%, 38%)
HSVhsv(244, 27%, 44%)
CMYKcmyk(25.7%, 27.4%, 0%, 55.7%)
CIE-LABlab(36.20, 8.29, -17.42)
CIE-LCHlch(36.20, 19.29, 295.45°)
OKLaboklab(45.31% 0.0148 -0.048)
OKLCHoklch(45.31% 0.05 287.2)
XYZxyz(9.6534, 9.1115, 16.8697)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545271 #6F7152
analogous
#525F71 #545271 #635271
triadic
#545271 #715452 #527154
tetradic
#545271 #71525F #6F7152 #527163
square
#545271 #71525F #6F7152 #527163
split-complementary
#545271 #716352 #5F7152
monochromatic
#1F1F2A #3A384E #545271 #6F6C94 #918FAE

Accessibility & contrast

On white

7.44
#545271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#545271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545271
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545271#FFFFFF#000000##FFFFFF
##5452711.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #545271;
/* rgb */ color: rgb(84, 82, 113);
/* oklch */ color: oklch(45.3% 0.050 287.2);
Tailwind
colors: {
  custom: {
    50: '#84829a',
    500: '#545271',
    950: '#000000',
  },
}
SCSS
$custom: #545271;
$custom-light: #84829a;
$custom-dark: #000000;
JSON
{
  "hex": "#545271",
  "rgb": {
    "r": 84,
    "g": 82,
    "b": 113
  },
  "hsl": {
    "h": 243.871,
    "s": 15.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45311,
    "c": 0.05025,
    "h": 287.2
  },
  "luminance": 0.09112
}

Semantic roles & 50–950 ramp

primary
#545271
secondary
#9A9C83
accent
#B96FB4
background
#F8F7F9
surface
#EFEEF2
border
#CAC9CC
text
#0B0A0E
muted
#7C7C7E

Preview Lab

Preview with #545271

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

Preview Lab → · Contrast checker → · Palette generator →

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