#54549A#54549A

#54549A is a mid, moderate blue. Relative luminance 0.106; OKLCH L 48.0% C 0.111 H 281.4°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#54549A
RGBrgb(84, 84, 154)
HSLhsl(240, 29%, 47%)
HSVhsv(240, 45%, 60%)
CMYKcmyk(45.5%, 45.5%, 0%, 39.6%)
CIE-LABlab(38.83, 19.01, -38.36)
CIE-LCHlch(38.83, 42.81, 296.37°)
OKLaboklab(48% 0.0219 -0.1086)
OKLCHoklch(48% 0.111 281.4)
XYZxyz(12.6575, 10.5580, 31.9365)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54549A #9A9A54
analogous
#54779A #54549A #77549A
triadic
#54549A #9A5454 #549A54
tetradic
#54549A #9A5477 #9A9A54 #549A77
square
#54549A #9A5477 #9A9A54 #549A77
split-complementary
#54549A #9A7754 #779A54
monochromatic
#29294B #3E3E72 #54549A #7777B5 #9E9ECA

Accessibility & contrast

On white

6.75
#54549A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#54549A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #54549A
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54549A#FFFFFF#000000##FFFFFF
##54549A1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395E9D
Deuteranopia (green-blind)
#355998
Tritanopia (blue-blind)
#3D626F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #54549a;
/* rgb */ color: rgb(84, 84, 154);
/* oklch */ color: oklch(48.0% 0.111 281.4);
Tailwind
colors: {
  custom: {
    50: '#8884b8',
    500: '#54549a',
    950: '#000000',
  },
}
SCSS
$custom: #54549a;
$custom-light: #8884b8;
$custom-dark: #000000;
JSON
{
  "hex": "#54549a",
  "rgb": {
    "r": 84,
    "g": 84,
    "b": 154
  },
  "hsl": {
    "h": 240,
    "s": 29.412,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48003,
    "c": 0.11076,
    "h": 281.4
  },
  "luminance": 0.10559
}

Semantic roles & 50–950 ramp

primary
#54549A
secondary
#B7B792
accent
#C662C6
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0A11
muted
#7D7C80

Preview Lab

Preview with #54549A

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

Preview Lab → · Contrast checker → · Palette generator →

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