#54589A#54589A

#54589A is a mid, moderate blue. Relative luminance 0.112; OKLCH L 48.8% C 0.105 H 279.1°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#54589A
RGBrgb(84, 88, 154)
HSLhsl(237, 29%, 47%)
HSVhsv(237, 45%, 60%)
CMYKcmyk(45.5%, 42.9%, 0%, 39.6%)
CIE-LABlab(39.91, 16.47, -36.64)
CIE-LCHlch(39.91, 40.17, 294.21°)
OKLaboklab(48.83% 0.0166 -0.1035)
OKLCHoklch(48.83% 0.105 279.1)
XYZxyz(12.9769, 11.1967, 32.0430)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54589A #9A9654
analogous
#547B9A #54589A #73549A
triadic
#54589A #9A5458 #589A54
tetradic
#54589A #9A547B #9A9654 #549A73
square
#54589A #9A547B #9A9654 #549A73
split-complementary
#54589A #9A7354 #7B9A54
monochromatic
#292B4B #3E4172 #54589A #777AB5 #9EA1CA

Accessibility & contrast

On white

6.48
#54589A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#54589A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #54589A
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54589A#FFFFFF#000000##FFFFFF
##54589A1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F619D
Deuteranopia (green-blind)
#3A5B98
Tritanopia (blue-blind)
#3D6671
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #54589a;
/* rgb */ color: rgb(84, 88, 154);
/* oklch */ color: oklch(48.8% 0.105 279.1);
Tailwind
colors: {
  custom: {
    50: '#8887b8',
    500: '#54589a',
    950: '#000000',
  },
}
SCSS
$custom: #54589a;
$custom-light: #8887b8;
$custom-dark: #000000;
JSON
{
  "hex": "#54589a",
  "rgb": {
    "r": 84,
    "g": 88,
    "b": 154
  },
  "hsl": {
    "h": 236.571,
    "s": 29.412,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48828,
    "c": 0.10486,
    "h": 279.1
  },
  "luminance": 0.11197
}

Semantic roles & 50–950 ramp

primary
#54589A
secondary
#B7B592
accent
#C062C6
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0B11
muted
#7D7C80

Preview Lab

Preview with #54589A

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

Preview Lab → · Contrast checker → · Palette generator →

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