#54529F#54529F

#54529F is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.9% C 0.121 H 282.0°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#54529F
RGBrgb(84, 82, 159)
HSLhsl(242, 32%, 47%)
HSVhsv(242, 48%, 62%)
CMYKcmyk(47.2%, 48.4%, 0%, 37.6%)
CIE-LABlab(38.59, 21.85, -41.73)
CIE-LCHlch(38.59, 47.11, 297.64°)
OKLaboklab(47.92% 0.0252 -0.1185)
OKLCHoklch(47.92% 0.121 282)
XYZxyz(12.9296, 10.4220, 34.1245)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54529F #9D9F52
analogous
#52779F #54529F #7A529F
triadic
#54529F #9F5452 #529F54
tetradic
#54529F #9F5277 #9D9F52 #529F7A
square
#54529F #9F5277 #9D9F52 #529F7A
split-complementary
#54529F #9F7A52 #779F52
monochromatic
#29284E #3F3D77 #54529F #7876B8 #9F9ECD

Accessibility & contrast

On white

6.81
#54529F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#54529F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #54529F
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54529F#FFFFFF#000000##FFFFFF
##54529F1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315EA2
Deuteranopia (green-blind)
#2D589D
Tritanopia (blue-blind)
#3A6271
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #54529f;
/* rgb */ color: rgb(84, 82, 159);
/* oklch */ color: oklch(47.9% 0.121 282.0);
Tailwind
colors: {
  custom: {
    50: '#8982bc',
    500: '#54529f',
    950: '#000000',
  },
}
SCSS
$custom: #54529f;
$custom-light: #8982bc;
$custom-dark: #000000;
JSON
{
  "hex": "#54529f",
  "rgb": {
    "r": 84,
    "g": 82,
    "b": 159
  },
  "hsl": {
    "h": 241.558,
    "s": 31.95,
    "l": 47.255
  },
  "oklch": {
    "l": 0.4792,
    "c": 0.12113,
    "h": 282
  },
  "luminance": 0.10423
}

Semantic roles & 50–950 ramp

primary
#54529F
secondary
#B9BA93
accent
#C860C5
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #54529F

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

Preview Lab → · Contrast checker → · Palette generator →

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