#54589D#54589D

#54589D is a mid, moderate blue. Relative luminance 0.113; OKLCH L 49.0% C 0.109 H 279.0°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#54589D
RGBrgb(84, 88, 157)
HSLhsl(237, 30%, 47%)
HSVhsv(237, 46%, 62%)
CMYKcmyk(46.5%, 43.9%, 0%, 38.4%)
CIE-LABlab(40.08, 17.41, -38.16)
CIE-LCHlch(40.08, 41.95, 294.52°)
OKLaboklab(49.01% 0.0172 -0.108)
OKLCHoklch(49.01% 0.109 279)
XYZxyz(13.2298, 11.2979, 33.3754)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54589D #9D9954
analogous
#547D9D #54589D #74549D
triadic
#54589D #9D5458 #589D54
tetradic
#54589D #9D547D #9D9954 #549D74
square
#54589D #9D547D #9D9954 #549D74
split-complementary
#54589D #9D7454 #7D9D54
monochromatic
#292B4D #3F4275 #54589D #787BB7 #9FA2CC

Accessibility & contrast

On white

6.44
#54589D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#54589D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #54589D
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54589D#FFFFFF#000000##FFFFFF
##54589D1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D61A0
Deuteranopia (green-blind)
#385C9B
Tritanopia (blue-blind)
#3B6673
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #54589d;
/* rgb */ color: rgb(84, 88, 157);
/* oklch */ color: oklch(49.0% 0.109 279.0);
Tailwind
colors: {
  custom: {
    50: '#8887ba',
    500: '#54589d',
    950: '#000000',
  },
}
SCSS
$custom: #54589d;
$custom-light: #8887ba;
$custom-dark: #000000;
JSON
{
  "hex": "#54589d",
  "rgb": {
    "r": 84,
    "g": 88,
    "b": 157
  },
  "hsl": {
    "h": 236.712,
    "s": 30.29,
    "l": 47.255
  },
  "oklch": {
    "l": 0.4901,
    "c": 0.10936,
    "h": 279
  },
  "luminance": 0.11299
}

Semantic roles & 50–950 ramp

primary
#54589D
secondary
#B9B794
accent
#C161C7
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #54589D

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

Preview Lab → · Contrast checker → · Palette generator →

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