#54528C#54528C

#54528C is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.7% C 0.093 H 283.8°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#54528C
RGBrgb(84, 82, 140)
HSLhsl(242, 26%, 44%)
HSVhsv(242, 41%, 55%)
CMYKcmyk(40%, 41.4%, 0%, 45.1%)
CIE-LABlab(37.50, 16.00, -31.99)
CIE-LCHlch(37.50, 35.77, 296.58°)
OKLaboklab(46.74% 0.0221 -0.09)
OKLCHoklch(46.74% 0.093 283.8)
XYZxyz(11.4057, 9.8124, 26.0989)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54528C #8A8C52
analogous
#526D8C #54528C #71528C
triadic
#54528C #8C5452 #528C54
tetradic
#54528C #8C526D #8A8C52 #528C71
square
#54528C #8C526D #8A8C52 #528C71
split-complementary
#54528C #8C7152 #6D8C52
monochromatic
#26253F #3D3B65 #54528C #7270AB #9897C2

Accessibility & contrast

On white

7.09
#54528C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#54528C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54528C
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54528C#FFFFFF#000000##FFFFFF
##54528C1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5A8E
Deuteranopia (green-blind)
#3C568B
Tritanopia (blue-blind)
#445D68
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #54528c;
/* rgb */ color: rgb(84, 82, 140);
/* oklch */ color: oklch(46.7% 0.093 283.8);
Tailwind
colors: {
  custom: {
    50: '#8782ae',
    500: '#54528c',
    950: '#000000',
  },
}
SCSS
$custom: #54528c;
$custom-light: #8782ae;
$custom-dark: #000000;
JSON
{
  "hex": "#54528c",
  "rgb": {
    "r": 84,
    "g": 82,
    "b": 140
  },
  "hsl": {
    "h": 242.069,
    "s": 26.126,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46743,
    "c": 0.09265,
    "h": 283.8
  },
  "luminance": 0.09813
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #54528C

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

Preview Lab → · Contrast checker → · Palette generator →

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