#54589E#54589E

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

Color values

HEX#54589E
RGBrgb(84, 88, 158)
HSLhsl(237, 31%, 47%)
HSVhsv(237, 47%, 62%)
CMYKcmyk(46.8%, 44.3%, 0%, 38%)
CIE-LABlab(40.13, 17.72, -38.67)
CIE-LCHlch(40.13, 42.54, 294.62°)
OKLaboklab(49.07% 0.0174 -0.1095)
OKLCHoklch(49.07% 0.111 279)
XYZxyz(13.3156, 11.3322, 33.8268)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54589E #9E9A54
analogous
#547D9E #54589E #75549E
triadic
#54589E #9E5458 #589E54
tetradic
#54589E #9E547D #9E9A54 #549E75
square
#54589E #9E547D #9E9A54 #549E75
split-complementary
#54589E #9E7554 #7D9E54
monochromatic
#2A2B4E #3F4276 #54589E #787BB7 #A0A2CC

Accessibility & contrast

On white

6.43
#54589E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#54589E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #54589E
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54589E#FFFFFF#000000##FFFFFF
##54589E1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D61A1
Deuteranopia (green-blind)
#375C9C
Tritanopia (blue-blind)
#3A6773
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #54589e;
/* rgb */ color: rgb(84, 88, 158);
/* oklch */ color: oklch(49.1% 0.111 279.0);
Tailwind
colors: {
  custom: {
    50: '#8887bb',
    500: '#54589e',
    950: '#000000',
  },
}
SCSS
$custom: #54589e;
$custom-light: #8887bb;
$custom-dark: #000000;
JSON
{
  "hex": "#54589e",
  "rgb": {
    "r": 84,
    "g": 88,
    "b": 158
  },
  "hsl": {
    "h": 236.757,
    "s": 30.579,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49072,
    "c": 0.11085,
    "h": 279
  },
  "luminance": 0.11333
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #54589E

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

Preview Lab → · Contrast checker → · Palette generator →

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