#54598C#54598C

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

Color values

HEX#54598C
RGBrgb(84, 89, 140)
HSLhsl(235, 25%, 44%)
HSVhsv(235, 40%, 55%)
CMYKcmyk(40%, 36.4%, 0%, 45.1%)
CIE-LABlab(39.45, 11.55, -28.93)
CIE-LCHlch(39.45, 31.15, 291.77°)
OKLaboklab(48.23% 0.0122 -0.0811)
OKLCHoklch(48.23% 0.082 278.6)
XYZxyz(11.9608, 10.9225, 26.2839)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54598C #8C8754
analogous
#54758C #54598C #6B548C
triadic
#54598C #8C5459 #598C54
tetradic
#54598C #8C5475 #8C8754 #548C6B
square
#54598C #8C5475 #8C8754 #548C6B
split-complementary
#54598C #8C6B54 #758C54
monochromatic
#262840 #3D4166 #54598C #7378AB #999CC2

Accessibility & contrast

On white

6.59
#54598C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #54598C
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54598C#FFFFFF#000000##FFFFFF
##54598C1.006.593.186.59
#FFFFFF6.591.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485F8E
Deuteranopia (green-blind)
#455B8B
Tritanopia (blue-blind)
#43636C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #54598c;
/* rgb */ color: rgb(84, 89, 140);
/* oklch */ color: oklch(48.2% 0.082 278.6);
Tailwind
colors: {
  custom: {
    50: '#8687ae',
    500: '#54598c',
    950: '#000000',
  },
}
SCSS
$custom: #54598c;
$custom-light: #8687ae;
$custom-dark: #000000;
JSON
{
  "hex": "#54598c",
  "rgb": {
    "r": 84,
    "g": 89,
    "b": 140
  },
  "hsl": {
    "h": 234.643,
    "s": 25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48234,
    "c": 0.082,
    "h": 278.6
  },
  "luminance": 0.10923
}

Semantic roles & 50–950 ramp

primary
#54598C
secondary
#AFAC8D
accent
#B966C1
background
#F8F8FA
surface
#F0EFF4
border
#CBCACE
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #54598C

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

Preview Lab → · Contrast checker → · Palette generator →

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