#54529C#54529C

#54529C is a mid, moderate blue. Relative luminance 0.103; OKLCH L 47.7% C 0.117 H 282.3°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#54529C
RGBrgb(84, 82, 156)
HSLhsl(242, 31%, 47%)
HSVhsv(242, 47%, 61%)
CMYKcmyk(46.2%, 47.4%, 0%, 38.8%)
CIE-LABlab(38.41, 20.91, -40.22)
CIE-LCHlch(38.41, 45.33, 297.47°)
OKLaboklab(47.73% 0.0248 -0.1141)
OKLCHoklch(47.73% 0.117 282.3)
XYZxyz(12.6724, 10.3191, 32.7701)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54529C #9A9C52
analogous
#52759C #54529C #79529C
triadic
#54529C #9C5452 #529C54
tetradic
#54529C #9C5275 #9A9C52 #529C79
square
#54529C #9C5275 #9A9C52 #529C79
split-complementary
#54529C #9C7952 #759C52
monochromatic
#29284C #3E3D74 #54529C #7775B6 #9E9DCB

Accessibility & contrast

On white

6.85
#54529C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#54529C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #54529C
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54529C#FFFFFF#000000##FFFFFF
##54529C1.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345D9F
Deuteranopia (green-blind)
#30589A
Tritanopia (blue-blind)
#3C616F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #54529c;
/* rgb */ color: rgb(84, 82, 156);
/* oklch */ color: oklch(47.7% 0.117 282.3);
Tailwind
colors: {
  custom: {
    50: '#8882ba',
    500: '#54529c',
    950: '#000000',
  },
}
SCSS
$custom: #54529c;
$custom-light: #8882ba;
$custom-dark: #000000;
JSON
{
  "hex": "#54529c",
  "rgb": {
    "r": 84,
    "g": 82,
    "b": 156
  },
  "hsl": {
    "h": 241.622,
    "s": 31.092,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47725,
    "c": 0.11672,
    "h": 282.3
  },
  "luminance": 0.1032
}

Semantic roles & 50–950 ramp

primary
#54529C
secondary
#B7B991
accent
#C761C5
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0A11
muted
#7D7C80

Preview Lab

Preview with #54529C

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

Preview Lab → · Contrast checker → · Palette generator →

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