#54519C#54519C

#54519C is a mid, moderate blue. Relative luminance 0.102; OKLCH L 47.5% C 0.118 H 282.7°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#54519C
RGBrgb(84, 81, 156)
HSLhsl(242, 32%, 46%)
HSVhsv(242, 48%, 61%)
CMYKcmyk(46.2%, 48.1%, 0%, 38.8%)
CIE-LABlab(38.14, 21.55, -40.64)
CIE-LCHlch(38.14, 46.00, 297.93°)
OKLaboklab(47.53% 0.0261 -0.1153)
OKLCHoklch(47.53% 0.118 282.7)
XYZxyz(12.5976, 10.1694, 32.7452)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54519C #999C51
analogous
#51749C #54519C #7A519C
triadic
#54519C #9C5451 #519C54
tetradic
#54519C #9C5174 #999C51 #519C7A
square
#54519C #9C5174 #999C51 #519C7A
split-complementary
#54519C #9C7A51 #749C51
monochromatic
#29274B #3E3C74 #54519C #7674B7 #9E9CCC

Accessibility & contrast

On white

6.92
#54519C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#54519C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #54519C
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54519C#FFFFFF#000000##FFFFFF
##54519C1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325C9F
Deuteranopia (green-blind)
#2E579A
Tritanopia (blue-blind)
#3C616F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #54519c;
/* rgb */ color: rgb(84, 81, 156);
/* oklch */ color: oklch(47.5% 0.118 282.7);
Tailwind
colors: {
  custom: {
    50: '#8881ba',
    500: '#54519c',
    950: '#000000',
  },
}
SCSS
$custom: #54519c;
$custom-light: #8881ba;
$custom-dark: #000000;
JSON
{
  "hex": "#54519c",
  "rgb": {
    "r": 84,
    "g": 81,
    "b": 156
  },
  "hsl": {
    "h": 242.4,
    "s": 31.646,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47526,
    "c": 0.11821,
    "h": 282.7
  },
  "luminance": 0.1017
}

Semantic roles & 50–950 ramp

primary
#54519C
secondary
#B7B890
accent
#C860C4
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0A11
muted
#7D7C80

Preview Lab

Preview with #54519C

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

Preview Lab → · Contrast checker → · Palette generator →

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