#54518E#54518E

#54518E is a mid, moderate blue. Relative luminance 0.097; OKLCH L 46.7% C 0.097 H 284.2°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#54518E
RGBrgb(84, 81, 142)
HSLhsl(243, 27%, 44%)
HSVhsv(243, 43%, 56%)
CMYKcmyk(40.8%, 43%, 0%, 44.3%)
CIE-LABlab(37.34, 17.24, -33.47)
CIE-LCHlch(37.34, 37.65, 297.26°)
OKLaboklab(46.65% 0.0239 -0.0943)
OKLCHoklch(46.65% 0.097 284.2)
XYZxyz(11.4797, 9.7222, 26.8577)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54518E #8B8E51
analogous
#516C8E #54518E #72518E
triadic
#54518E #8E5451 #518E54
tetradic
#54518E #8E516C #8B8E51 #518E72
square
#54518E #8E516C #8B8E51 #518E72
split-complementary
#54518E #8E7251 #6C8E51
monochromatic
#262540 #3D3B67 #54518E #726FAD #9896C3

Accessibility & contrast

On white

7.13
#54518E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#54518E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54518E
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54518E#FFFFFF#000000##FFFFFF
##54518E1.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5A90
Deuteranopia (green-blind)
#3A568D
Tritanopia (blue-blind)
#435D68
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #54518e;
/* rgb */ color: rgb(84, 81, 142);
/* oklch */ color: oklch(46.7% 0.097 284.2);
Tailwind
colors: {
  custom: {
    50: '#8781af',
    500: '#54518e',
    950: '#000000',
  },
}
SCSS
$custom: #54518e;
$custom-light: #8781af;
$custom-dark: #000000;
JSON
{
  "hex": "#54518e",
  "rgb": {
    "r": 84,
    "g": 81,
    "b": 142
  },
  "hsl": {
    "h": 242.951,
    "s": 27.354,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46653,
    "c": 0.09727,
    "h": 284.2
  },
  "luminance": 0.09723
}

Semantic roles & 50–950 ramp

primary
#54518E
secondary
#AEB08B
accent
#C464BF
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #54518E

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

Preview Lab → · Contrast checker → · Palette generator →

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