#54517C#54517C

#54517C is a mid, moderate blue. Relative luminance 0.092; OKLCH L 45.6% C 0.069 H 286.5°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#54517C
RGBrgb(84, 81, 124)
HSLhsl(244, 21%, 40%)
HSVhsv(244, 35%, 49%)
CMYKcmyk(32.3%, 34.7%, 0%, 51.4%)
CIE-LABlab(36.41, 11.96, -23.90)
CIE-LCHlch(36.41, 26.73, 296.59°)
OKLaboklab(45.64% 0.0197 -0.0665)
OKLCHoklch(45.64% 0.069 286.5)
XYZxyz(10.2357, 9.2247, 20.3061)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54517C #797C51
analogous
#51637C #54517C #69517C
triadic
#54517C #7C5451 #517C54
tetradic
#54517C #7C5163 #797C51 #517C69
square
#54517C #7C5163 #797C51 #517C69
split-complementary
#54517C #7C6951 #637C51
monochromatic
#222132 #3B3957 #54517C #6F6C9F #9391B7

Accessibility & contrast

On white

7.38
#54517C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#54517C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54517C
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54517C#FFFFFF#000000##FFFFFF
##54517C1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45577E
Deuteranopia (green-blind)
#44547B
Tritanopia (blue-blind)
#4A5961
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #54517c;
/* rgb */ color: rgb(84, 81, 124);
/* oklch */ color: oklch(45.6% 0.069 286.5);
Tailwind
colors: {
  custom: {
    50: '#8581a2',
    500: '#54517c',
    950: '#000000',
  },
}
SCSS
$custom: #54517c;
$custom-light: #8581a2;
$custom-dark: #000000;
JSON
{
  "hex": "#54517c",
  "rgb": {
    "r": 84,
    "g": 81,
    "b": 124
  },
  "hsl": {
    "h": 244.186,
    "s": 20.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45642,
    "c": 0.0694,
    "h": 286.5
  },
  "luminance": 0.09225
}

Semantic roles & 50–950 ramp

primary
#54517C
secondary
#A2A485
accent
#BE6AB8
background
#F8F7FA
surface
#EFEEF3
border
#CAC9CD
text
#0B0A0F
muted
#7C7C7F

Preview Lab

Preview with #54517C

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

Preview Lab → · Contrast checker → · Palette generator →

#54517C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva