#54587F#54587F

#54587F is a mid, moderate blue. Relative luminance 0.104; OKLCH L 47.3% C 0.063 H 279.2°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#54587F
RGBrgb(84, 88, 127)
HSLhsl(234, 20%, 41%)
HSVhsv(234, 34%, 50%)
CMYKcmyk(33.9%, 30.7%, 0%, 50.2%)
CIE-LABlab(38.54, 8.38, -22.43)
CIE-LCHlch(38.54, 23.94, 290.48°)
OKLaboklab(47.33% 0.0101 -0.0623)
OKLCHoklch(47.33% 0.063 279.2)
XYZxyz(10.9756, 10.3962, 21.5029)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54587F #7F7B54
analogous
#546E7F #54587F #66547F
triadic
#54587F #7F5458 #587F54
tetradic
#54587F #7F546E #7F7B54 #547F66
square
#54587F #7F546E #7F7B54 #547F66
split-complementary
#54587F #7F6654 #6E7F54
monochromatic
#232535 #3C3E5A #54587F #7074A0 #9598B9

Accessibility & contrast

On white

6.82
#54587F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#54587F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #54587F
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54587F#FFFFFF#000000##FFFFFF
##54587F1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5C81
Deuteranopia (green-blind)
#4A597E
Tritanopia (blue-blind)
#495F66
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #54587f;
/* rgb */ color: rgb(84, 88, 127);
/* oklch */ color: oklch(47.3% 0.063 279.2);
Tailwind
colors: {
  custom: {
    50: '#8587a4',
    500: '#54587f',
    950: '#000000',
  },
}
SCSS
$custom: #54587f;
$custom-light: #8587a4;
$custom-dark: #000000;
JSON
{
  "hex": "#54587f",
  "rgb": {
    "r": 84,
    "g": 88,
    "b": 127
  },
  "hsl": {
    "h": 234.419,
    "s": 20.379,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47331,
    "c": 0.06313,
    "h": 279.2
  },
  "luminance": 0.10397
}

Semantic roles & 50–950 ramp

primary
#54587F
secondary
#A6A389
accent
#B56BBD
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0B0F
muted
#7C7C7F

Preview Lab

Preview with #54587F

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

Preview Lab → · Contrast checker → · Palette generator →

#54587F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva