#54559D#54559D

#54559D is a mid, moderate blue. Relative luminance 0.108; OKLCH L 48.4% C 0.114 H 280.7°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#54559D
RGBrgb(84, 85, 157)
HSLhsl(239, 30%, 47%)
HSVhsv(239, 46%, 62%)
CMYKcmyk(46.5%, 45.9%, 0%, 38.4%)
CIE-LABlab(39.27, 19.32, -39.45)
CIE-LCHlch(39.27, 43.93, 296.09°)
OKLaboklab(48.4% 0.0211 -0.1118)
OKLCHoklch(48.4% 0.114 280.7)
XYZxyz(12.9886, 10.8155, 33.2950)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54559D #9D9C54
analogous
#547A9D #54559D #78549D
triadic
#54559D #9D5455 #559D54
tetradic
#54559D #9D547A #9D9C54 #549D78
square
#54559D #9D547A #9D9C54 #549D78
split-complementary
#54559D #9D7854 #7A9D54
monochromatic
#292A4D #3F3F75 #54559D #7878B7 #9FA0CC

Accessibility & contrast

On white

6.64
#54559D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#54559D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #54559D
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54559D#FFFFFF#000000##FFFFFF
##54559D1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385FA0
Deuteranopia (green-blind)
#345A9B
Tritanopia (blue-blind)
#3B6471
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #54559d;
/* rgb */ color: rgb(84, 85, 157);
/* oklch */ color: oklch(48.4% 0.114 280.7);
Tailwind
colors: {
  custom: {
    50: '#8884ba',
    500: '#54559d',
    950: '#000000',
  },
}
SCSS
$custom: #54559d;
$custom-light: #8884ba;
$custom-dark: #000000;
JSON
{
  "hex": "#54559d",
  "rgb": {
    "r": 84,
    "g": 85,
    "b": 157
  },
  "hsl": {
    "h": 239.178,
    "s": 30.29,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48395,
    "c": 0.11375,
    "h": 280.7
  },
  "luminance": 0.10816
}

Semantic roles & 50–950 ramp

primary
#54559D
secondary
#B9B994
accent
#C561C7
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #54559D

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

Preview Lab → · Contrast checker → · Palette generator →

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