#54519E#54519E

#54519E is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.7% C 0.121 H 282.5°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#54519E
RGBrgb(84, 81, 158)
HSLhsl(242, 32%, 47%)
HSVhsv(242, 49%, 62%)
CMYKcmyk(46.8%, 48.7%, 0%, 38%)
CIE-LABlab(38.27, 22.17, -41.65)
CIE-LCHlch(38.27, 47.18, 298.03°)
OKLaboklab(47.66% 0.0263 -0.1182)
OKLCHoklch(47.66% 0.121 282.5)
XYZxyz(12.7683, 10.2377, 33.6444)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54519E #9B9E51
analogous
#51759E #54519E #7B519E
triadic
#54519E #9E5451 #519E54
tetradic
#54519E #9E5175 #9B9E51 #519E7B
square
#54519E #9E5175 #9B9E51 #519E7B
split-complementary
#54519E #9E7B51 #759E51
monochromatic
#29284D #3E3C76 #54519E #7774B8 #9F9DCD

Accessibility & contrast

On white

6.89
#54519E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#54519E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #54519E
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54519E#FFFFFF#000000##FFFFFF
##54519E1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305DA1
Deuteranopia (green-blind)
#2C579C
Tritanopia (blue-blind)
#3B6170
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #54519e;
/* rgb */ color: rgb(84, 81, 158);
/* oklch */ color: oklch(47.7% 0.121 282.5);
Tailwind
colors: {
  custom: {
    50: '#8981bb',
    500: '#54519e',
    950: '#000000',
  },
}
SCSS
$custom: #54519e;
$custom-light: #8981bb;
$custom-dark: #000000;
JSON
{
  "hex": "#54519e",
  "rgb": {
    "r": 84,
    "g": 81,
    "b": 158
  },
  "hsl": {
    "h": 242.338,
    "s": 32.218,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47656,
    "c": 0.12114,
    "h": 282.5
  },
  "luminance": 0.10238
}

Semantic roles & 50–950 ramp

primary
#54519E
secondary
#B8BA91
accent
#C85FC4
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #54519E

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

Preview Lab → · Contrast checker → · Palette generator →

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