#545474#545474

#545474 is a mid, muted blue. Relative luminance 0.095; OKLCH L 45.9% C 0.052 H 284.2°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#545474
RGBrgb(84, 84, 116)
HSLhsl(240, 16%, 39%)
HSVhsv(240, 28%, 45%)
CMYKcmyk(27.6%, 27.6%, 0%, 54.5%)
CIE-LABlab(36.90, 7.84, -18.20)
CIE-LCHlch(36.90, 19.81, 293.30°)
OKLaboklab(45.9% 0.0127 -0.0502)
OKLCHoklch(45.9% 0.052 284.2)
XYZxyz(9.9781, 9.4862, 17.8249)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545474 #747454
analogous
#546474 #545474 #645474
triadic
#545474 #745454 #547454
tetradic
#545474 #745464 #747454 #547464
square
#545474 #745464 #747454 #547464
split-complementary
#545474 #746454 #647454
monochromatic
#21212D #3A3A51 #545474 #6F6F97 #9292B0

Accessibility & contrast

On white

7.25
#545474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#545474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545474
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545474#FFFFFF#000000##FFFFFF
##5454741.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5875
Deuteranopia (green-blind)
#4A5673
Tritanopia (blue-blind)
#4D5A5F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #545474;
/* rgb */ color: rgb(84, 84, 116);
/* oklch */ color: oklch(45.9% 0.052 284.2);
Tailwind
colors: {
  custom: {
    50: '#85849c',
    500: '#545474',
    950: '#000000',
  },
}
SCSS
$custom: #545474;
$custom-light: #85849c;
$custom-dark: #000000;
JSON
{
  "hex": "#545474",
  "rgb": {
    "r": 84,
    "g": 84,
    "b": 116
  },
  "hsl": {
    "h": 240,
    "s": 16,
    "l": 39.216
  },
  "oklch": {
    "l": 0.459,
    "c": 0.0518,
    "h": 284.2
  },
  "luminance": 0.09486
}

Semantic roles & 50–950 ramp

primary
#545474
secondary
#9E9E86
accent
#B96FB9
background
#F8F8F9
surface
#EFEFF2
border
#CACACC
text
#0B0A0E
muted
#7C7C7E

Preview Lab

Preview with #545474

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

Preview Lab → · Contrast checker → · Palette generator →

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