#54539F#54539F

#54539F is a mid, moderate blue. Relative luminance 0.106; OKLCH L 48.1% C 0.120 H 281.5°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#54539F
RGBrgb(84, 83, 159)
HSLhsl(241, 31%, 47%)
HSVhsv(241, 48%, 62%)
CMYKcmyk(47.2%, 47.8%, 0%, 37.6%)
CIE-LABlab(38.85, 21.21, -41.31)
CIE-LCHlch(38.85, 46.44, 297.18°)
OKLaboklab(48.12% 0.0239 -0.1172)
OKLCHoklch(48.12% 0.12 281.5)
XYZxyz(13.0055, 10.5739, 34.1499)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54539F #9E9F53
analogous
#53789F #54539F #7A539F
triadic
#54539F #9F5453 #539F54
tetradic
#54539F #9F5378 #9E9F53 #539F7A
square
#54539F #9F5378 #9E9F53 #539F7A
split-complementary
#54539F #9F7A53 #789F53
monochromatic
#2A294F #3F3E77 #54539F #7877B8 #A09FCD

Accessibility & contrast

On white

6.74
#54539F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#54539F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #54539F
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54539F#FFFFFF#000000##FFFFFF
##54539F1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335EA2
Deuteranopia (green-blind)
#2F599D
Tritanopia (blue-blind)
#3A6371
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #54539f;
/* rgb */ color: rgb(84, 83, 159);
/* oklch */ color: oklch(48.1% 0.120 281.5);
Tailwind
colors: {
  custom: {
    50: '#8983bc',
    500: '#54539f',
    950: '#000000',
  },
}
SCSS
$custom: #54539f;
$custom-light: #8983bc;
$custom-dark: #000000;
JSON
{
  "hex": "#54539f",
  "rgb": {
    "r": 84,
    "g": 83,
    "b": 159
  },
  "hsl": {
    "h": 240.789,
    "s": 31.405,
    "l": 47.451
  },
  "oklch": {
    "l": 0.48119,
    "c": 0.11966,
    "h": 281.5
  },
  "luminance": 0.10575
}

Semantic roles & 50–950 ramp

primary
#54539F
secondary
#BABA94
accent
#C860C6
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #54539F

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

Preview Lab → · Contrast checker → · Palette generator →

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