#54598B#54598B

#54598B is a mid, moderate blue. Relative luminance 0.109; OKLCH L 48.2% C 0.080 H 278.6°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#54598B
RGBrgb(84, 89, 139)
HSLhsl(235, 25%, 44%)
HSVhsv(235, 40%, 55%)
CMYKcmyk(39.6%, 36%, 0%, 45.5%)
CIE-LABlab(39.40, 11.25, -28.40)
CIE-LCHlch(39.40, 30.55, 291.62°)
OKLaboklab(48.18% 0.012 -0.0795)
OKLCHoklch(48.18% 0.08 278.6)
XYZxyz(11.8874, 10.8932, 25.8973)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54598B #8B8654
analogous
#54748B #54598B #6A548B
triadic
#54598B #8B5459 #598B54
tetradic
#54598B #8B5474 #8B8654 #548B6A
square
#54598B #8B5474 #8B8654 #548B6A
split-complementary
#54598B #8B6A54 #748B54
monochromatic
#26283F #3D4165 #54598B #7277AA #989CC1

Accessibility & contrast

On white

6.61
#54598B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#54598B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #54598B
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54598B#FFFFFF#000000##FFFFFF
##54598B1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495F8D
Deuteranopia (green-blind)
#455B8A
Tritanopia (blue-blind)
#44636B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #54598b;
/* rgb */ color: rgb(84, 89, 139);
/* oklch */ color: oklch(48.2% 0.080 278.6);
Tailwind
colors: {
  custom: {
    50: '#8687ad',
    500: '#54598b',
    950: '#000000',
  },
}
SCSS
$custom: #54598b;
$custom-light: #8687ad;
$custom-dark: #000000;
JSON
{
  "hex": "#54598b",
  "rgb": {
    "r": 84,
    "g": 89,
    "b": 139
  },
  "hsl": {
    "h": 234.545,
    "s": 24.664,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48179,
    "c": 0.08045,
    "h": 278.6
  },
  "luminance": 0.10894
}

Semantic roles & 50–950 ramp

primary
#54598B
secondary
#AEAB8D
accent
#B967C1
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #54598B

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

Preview Lab → · Contrast checker → · Palette generator →

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