#54548E#54548E

#54548E is a mid, moderate blue. Relative luminance 0.102; OKLCH L 47.3% C 0.093 H 282.3°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#54548E
RGBrgb(84, 84, 142)
HSLhsl(240, 26%, 44%)
HSVhsv(240, 41%, 56%)
CMYKcmyk(40.8%, 40.8%, 0%, 44.3%)
CIE-LABlab(38.16, 15.33, -32.17)
CIE-LCHlch(38.16, 35.63, 295.48°)
OKLaboklab(47.28% 0.0197 -0.0905)
OKLCHoklch(47.28% 0.093 282.3)
XYZxyz(11.7076, 10.1780, 26.9336)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54548E #8E8E54
analogous
#54718E #54548E #71548E
triadic
#54548E #8E5454 #548E54
tetradic
#54548E #8E5471 #8E8E54 #548E71
square
#54548E #8E5471 #8E8E54 #548E71
split-complementary
#54548E #8E7154 #718E54
monochromatic
#272741 #3D3D68 #54548E #7373AC #9999C3

Accessibility & contrast

On white

6.92
#54548E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#54548E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #54548E
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54548E#FFFFFF#000000##FFFFFF
##54548E1.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405C90
Deuteranopia (green-blind)
#3D588D
Tritanopia (blue-blind)
#435F6A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #54548e;
/* rgb */ color: rgb(84, 84, 142);
/* oklch */ color: oklch(47.3% 0.093 282.3);
Tailwind
colors: {
  custom: {
    50: '#8784af',
    500: '#54548e',
    950: '#000000',
  },
}
SCSS
$custom: #54548e;
$custom-light: #8784af;
$custom-dark: #000000;
JSON
{
  "hex": "#54548e",
  "rgb": {
    "r": 84,
    "g": 84,
    "b": 142
  },
  "hsl": {
    "h": 240,
    "s": 25.664,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47279,
    "c": 0.09262,
    "h": 282.3
  },
  "luminance": 0.10178
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #54548E

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

Preview Lab → · Contrast checker → · Palette generator →

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