#54589C#54589C

#54589C is a mid, moderate blue. Relative luminance 0.113; OKLCH L 48.9% C 0.108 H 279.1°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#54589C
RGBrgb(84, 88, 156)
HSLhsl(237, 30%, 47%)
HSVhsv(237, 46%, 61%)
CMYKcmyk(46.2%, 43.6%, 0%, 38.8%)
CIE-LABlab(40.02, 17.10, -37.66)
CIE-LCHlch(40.02, 41.36, 294.42°)
OKLaboklab(48.95% 0.017 -0.1065)
OKLCHoklch(48.95% 0.108 279.1)
XYZxyz(13.1448, 11.2639, 32.9276)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54589C #9C9854
analogous
#547C9C #54589C #74549C
triadic
#54589C #9C5458 #589C54
tetradic
#54589C #9C547C #9C9854 #549C74
square
#54589C #9C547C #9C9854 #549C74
split-complementary
#54589C #9C7454 #7C9C54
monochromatic
#292B4C #3F4274 #54589C #777BB6 #9FA2CB

Accessibility & contrast

On white

6.46
#54589C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#54589C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #54589C
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54589C#FFFFFF#000000##FFFFFF
##54589C1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E619F
Deuteranopia (green-blind)
#395C9A
Tritanopia (blue-blind)
#3B6672
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #54589c;
/* rgb */ color: rgb(84, 88, 156);
/* oklch */ color: oklch(48.9% 0.108 279.1);
Tailwind
colors: {
  custom: {
    50: '#8887b9',
    500: '#54589c',
    950: '#000000',
  },
}
SCSS
$custom: #54589c;
$custom-light: #8887b9;
$custom-dark: #000000;
JSON
{
  "hex": "#54589c",
  "rgb": {
    "r": 84,
    "g": 88,
    "b": 156
  },
  "hsl": {
    "h": 236.667,
    "s": 30,
    "l": 47.059
  },
  "oklch": {
    "l": 0.48949,
    "c": 0.10786,
    "h": 279.1
  },
  "luminance": 0.11265
}

Semantic roles & 50–950 ramp

primary
#54589C
secondary
#B9B793
accent
#C162C6
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0B11
muted
#7D7C80

Preview Lab

Preview with #54589C

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

Preview Lab → · Contrast checker → · Palette generator →

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