#54547B#54547B

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

Color values

HEX#54547B
RGBrgb(84, 84, 123)
HSLhsl(240, 19%, 41%)
HSVhsv(240, 32%, 48%)
CMYKcmyk(31.7%, 31.7%, 0%, 51.8%)
CIE-LABlab(37.22, 9.77, -22.03)
CIE-LCHlch(37.22, 24.10, 293.92°)
OKLaboklab(46.25% 0.0149 -0.0612)
OKLCHoklch(46.25% 0.063 283.7)
XYZxyz(10.4007, 9.6553, 20.0507)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54547B #7B7B54
analogous
#54677B #54547B #67547B
triadic
#54547B #7B5454 #547B54
tetradic
#54547B #7B5467 #7B7B54 #547B67
square
#54547B #7B5467 #7B7B54 #547B67
split-complementary
#54547B #7B6754 #677B54
monochromatic
#222232 #3B3B57 #54547B #6F6F9D #9494B6

Accessibility & contrast

On white

7.16
#54547B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54547B
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54547B#FFFFFF#000000##FFFFFF
##54547B1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49597D
Deuteranopia (green-blind)
#47567A
Tritanopia (blue-blind)
#4A5B62
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #54547b;
/* rgb */ color: rgb(84, 84, 123);
/* oklch */ color: oklch(46.2% 0.063 283.7);
Tailwind
colors: {
  custom: {
    50: '#8584a1',
    500: '#54547b',
    950: '#000000',
  },
}
SCSS
$custom: #54547b;
$custom-light: #8584a1;
$custom-dark: #000000;
JSON
{
  "hex": "#54547b",
  "rgb": {
    "r": 84,
    "g": 84,
    "b": 123
  },
  "hsl": {
    "h": 240,
    "s": 18.841,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46245,
    "c": 0.06296,
    "h": 283.7
  },
  "luminance": 0.09656
}

Semantic roles & 50–950 ramp

primary
#54547B
secondary
#A3A387
accent
#BB6CBB
background
#F8F8F9
surface
#EFEFF2
border
#CACACC
text
#0B0A0F
muted
#7C7C7E

Preview Lab

Preview with #54547B

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

Preview Lab → · Contrast checker → · Palette generator →

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