#54549B#54549B

#54549B is a mid, moderate blue. Relative luminance 0.106; OKLCH L 48.1% C 0.112 H 281.3°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#54549B
RGBrgb(84, 84, 155)
HSLhsl(240, 30%, 47%)
HSVhsv(240, 46%, 61%)
CMYKcmyk(45.8%, 45.8%, 0%, 39.2%)
CIE-LABlab(38.88, 19.33, -38.87)
CIE-LCHlch(38.88, 43.41, 296.44°)
OKLaboklab(48.07% 0.022 -0.1101)
OKLCHoklch(48.07% 0.112 281.3)
XYZxyz(12.7411, 10.5914, 32.3770)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54549B #9B9B54
analogous
#54789B #54549B #78549B
triadic
#54549B #9B5454 #549B54
tetradic
#54549B #9B5478 #9B9B54 #549B78
square
#54549B #9B5478 #9B9B54 #549B78
split-complementary
#54549B #9B7854 #789B54
monochromatic
#29294C #3E3E73 #54549B #7777B5 #9F9FCB

Accessibility & contrast

On white

6.73
#54549B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#54549B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #54549B
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54549B#FFFFFF#000000##FFFFFF
##54549B1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385E9E
Deuteranopia (green-blind)
#345999
Tritanopia (blue-blind)
#3C6370
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #54549b;
/* rgb */ color: rgb(84, 84, 155);
/* oklch */ color: oklch(48.1% 0.112 281.3);
Tailwind
colors: {
  custom: {
    50: '#8884b9',
    500: '#54549b',
    950: '#000000',
  },
}
SCSS
$custom: #54549b;
$custom-light: #8884b9;
$custom-dark: #000000;
JSON
{
  "hex": "#54549b",
  "rgb": {
    "r": 84,
    "g": 84,
    "b": 155
  },
  "hsl": {
    "h": 240,
    "s": 29.707,
    "l": 46.863
  },
  "oklch": {
    "l": 0.48066,
    "c": 0.11225,
    "h": 281.3
  },
  "luminance": 0.10592
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #54549B

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

Preview Lab → · Contrast checker → · Palette generator →

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