#54528E#54528E

#54528E is a mid, moderate blue. Relative luminance 0.099; OKLCH L 46.9% C 0.096 H 283.6°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#54528E
RGBrgb(84, 82, 142)
HSLhsl(242, 27%, 44%)
HSVhsv(242, 42%, 56%)
CMYKcmyk(40.8%, 42.3%, 0%, 44.3%)
CIE-LABlab(37.61, 16.60, -33.03)
CIE-LCHlch(37.61, 36.97, 296.69°)
OKLaboklab(46.86% 0.0225 -0.093)
OKLCHoklch(46.86% 0.096 283.6)
XYZxyz(11.5545, 9.8720, 26.8826)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54528E #8C8E52
analogous
#526E8E #54528E #72528E
triadic
#54528E #8E5452 #528E54
tetradic
#54528E #8E526E #8C8E52 #528E72
square
#54528E #8E526E #8C8E52 #528E72
split-complementary
#54528E #8E7252 #6E8E52
monochromatic
#262540 #3D3C67 #54528E #7370AD #9997C3

Accessibility & contrast

On white

7.06
#54528E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54528E
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54528E#FFFFFF#000000##FFFFFF
##54528E1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5A90
Deuteranopia (green-blind)
#3B578D
Tritanopia (blue-blind)
#435E69
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #54528e;
/* rgb */ color: rgb(84, 82, 142);
/* oklch */ color: oklch(46.9% 0.096 283.6);
Tailwind
colors: {
  custom: {
    50: '#8782af',
    500: '#54528e',
    950: '#000000',
  },
}
SCSS
$custom: #54528e;
$custom-light: #8782af;
$custom-dark: #000000;
JSON
{
  "hex": "#54528e",
  "rgb": {
    "r": 84,
    "g": 82,
    "b": 142
  },
  "hsl": {
    "h": 242,
    "s": 26.786,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46861,
    "c": 0.09571,
    "h": 283.6
  },
  "luminance": 0.09872
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #54528E

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

Preview Lab → · Contrast checker → · Palette generator →

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