#54547A#54547A

#54547A is a mid, moderate blue. Relative luminance 0.096; OKLCH L 46.2% C 0.061 H 283.7°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#54547A
RGBrgb(84, 84, 122)
HSLhsl(240, 18%, 40%)
HSVhsv(240, 31%, 48%)
CMYKcmyk(31.1%, 31.1%, 0%, 52.2%)
CIE-LABlab(37.17, 9.49, -21.49)
CIE-LCHlch(37.17, 23.49, 293.83°)
OKLaboklab(46.2% 0.0146 -0.0596)
OKLCHoklch(46.2% 0.061 283.7)
XYZxyz(10.3384, 9.6303, 19.7227)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54547A #7A7A54
analogous
#54677A #54547A #67547A
triadic
#54547A #7A5454 #547A54
tetradic
#54547A #7A5467 #7A7A54 #547A67
square
#54547A #7A5467 #7A7A54 #547A67
split-complementary
#54547A #7A6754 #677A54
monochromatic
#222232 #3B3B56 #54547A #6F6F9C #9393B5

Accessibility & contrast

On white

7.18
#54547A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#54547A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54547A
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54547A#FFFFFF#000000##FFFFFF
##54547A1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49597C
Deuteranopia (green-blind)
#485679
Tritanopia (blue-blind)
#4B5B62
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #54547a;
/* rgb */ color: rgb(84, 84, 122);
/* oklch */ color: oklch(46.2% 0.061 283.7);
Tailwind
colors: {
  custom: {
    50: '#8584a0',
    500: '#54547a',
    950: '#000000',
  },
}
SCSS
$custom: #54547a;
$custom-light: #8584a0;
$custom-dark: #000000;
JSON
{
  "hex": "#54547a",
  "rgb": {
    "r": 84,
    "g": 84,
    "b": 122
  },
  "hsl": {
    "h": 240,
    "s": 18.447,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46195,
    "c": 0.06138,
    "h": 283.7
  },
  "luminance": 0.09631
}

Semantic roles & 50–950 ramp

primary
#54547A
secondary
#A3A387
accent
#BB6DBB
background
#F8F8F9
surface
#EFEFF2
border
#CACACC
text
#0B0A0E
muted
#7C7C7E

Preview Lab

Preview with #54547A

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

Preview Lab → · Contrast checker → · Palette generator →

#54547A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva