#54528D#54528D

#54528D is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.8% C 0.094 H 283.7°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#54528D
RGBrgb(84, 82, 141)
HSLhsl(242, 26%, 44%)
HSVhsv(242, 42%, 55%)
CMYKcmyk(40.4%, 41.8%, 0%, 44.7%)
CIE-LABlab(37.56, 16.30, -32.51)
CIE-LCHlch(37.56, 36.37, 296.63°)
OKLaboklab(46.8% 0.0223 -0.0915)
OKLCHoklch(46.8% 0.094 283.7)
XYZxyz(11.4798, 9.8421, 26.4890)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54528D #8B8D52
analogous
#526D8D #54528D #71528D
triadic
#54528D #8D5452 #528D54
tetradic
#54528D #8D526D #8B8D52 #528D71
square
#54528D #8D526D #8B8D52 #528D71
split-complementary
#54528D #8D7152 #6D8D52
monochromatic
#262540 #3D3B66 #54528D #7270AC #9897C2

Accessibility & contrast

On white

7.07
#54528D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#54528D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54528D
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54528D#FFFFFF#000000##FFFFFF
##54528D1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5A8F
Deuteranopia (green-blind)
#3C578C
Tritanopia (blue-blind)
#445E68
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #54528d;
/* rgb */ color: rgb(84, 82, 141);
/* oklch */ color: oklch(46.8% 0.094 283.7);
Tailwind
colors: {
  custom: {
    50: '#8782ae',
    500: '#54528d',
    950: '#000000',
  },
}
SCSS
$custom: #54528d;
$custom-light: #8782ae;
$custom-dark: #000000;
JSON
{
  "hex": "#54528d",
  "rgb": {
    "r": 84,
    "g": 82,
    "b": 141
  },
  "hsl": {
    "h": 242.034,
    "s": 26.457,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46802,
    "c": 0.09419,
    "h": 283.7
  },
  "luminance": 0.09842
}

Semantic roles & 50–950 ramp

primary
#54528D
secondary
#AEAF8B
accent
#C365C0
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #54528D

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

Preview Lab → · Contrast checker → · Palette generator →

#54528D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva