#54548D#54548D

#54548D is a mid, moderate blue. Relative luminance 0.101; OKLCH L 47.2% C 0.091 H 282.3°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#54548D
RGBrgb(84, 84, 141)
HSLhsl(240, 25%, 44%)
HSVhsv(240, 40%, 55%)
CMYKcmyk(40.4%, 40.4%, 0%, 44.7%)
CIE-LABlab(38.11, 15.03, -31.65)
CIE-LCHlch(38.11, 35.03, 295.40°)
OKLaboklab(47.22% 0.0195 -0.089)
OKLCHoklch(47.22% 0.091 282.3)
XYZxyz(11.6328, 10.1481, 26.5400)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54548D #8D8D54
analogous
#54718D #54548D #71548D
triadic
#54548D #8D5454 #548D54
tetradic
#54548D #8D5471 #8D8D54 #548D71
square
#54548D #8D5471 #8D8D54 #548D71
split-complementary
#54548D #8D7154 #718D54
monochromatic
#262640 #3D3D67 #54548D #7373AB #9999C2

Accessibility & contrast

On white

6.93
#54548D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#54548D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #54548D
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54548D#FFFFFF#000000##FFFFFF
##54548D1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415C8F
Deuteranopia (green-blind)
#3E588C
Tritanopia (blue-blind)
#435F69
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #54548d;
/* rgb */ color: rgb(84, 84, 141);
/* oklch */ color: oklch(47.2% 0.091 282.3);
Tailwind
colors: {
  custom: {
    50: '#8784ae',
    500: '#54548d',
    950: '#000000',
  },
}
SCSS
$custom: #54548d;
$custom-light: #8784ae;
$custom-dark: #000000;
JSON
{
  "hex": "#54548d",
  "rgb": {
    "r": 84,
    "g": 84,
    "b": 141
  },
  "hsl": {
    "h": 240,
    "s": 25.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47221,
    "c": 0.09109,
    "h": 282.3
  },
  "luminance": 0.10149
}

Semantic roles & 50–950 ramp

primary
#54548D
secondary
#B0B08D
accent
#C266C2
background
#F8F8FA
surface
#F0EFF4
border
#CBCACE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #54548D

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

Preview Lab → · Contrast checker → · Palette generator →

#54548D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva