#54539C#54539C

#54539C is a mid, moderate blue. Relative luminance 0.105; OKLCH L 47.9% C 0.115 H 281.8°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#54539C
RGBrgb(84, 83, 156)
HSLhsl(241, 31%, 47%)
HSVhsv(241, 47%, 61%)
CMYKcmyk(46.2%, 46.8%, 0%, 38.8%)
CIE-LABlab(38.67, 20.28, -39.80)
CIE-LCHlch(38.67, 44.66, 297.00°)
OKLaboklab(47.93% 0.0235 -0.1128)
OKLCHoklch(47.93% 0.115 281.8)
XYZxyz(12.7484, 10.4710, 32.7954)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54539C #9B9C53
analogous
#53779C #54539C #79539C
triadic
#54539C #9C5453 #539C54
tetradic
#54539C #9C5377 #9B9C53 #539C79
square
#54539C #9C5377 #9B9C53 #539C79
split-complementary
#54539C #9C7953 #779C53
monochromatic
#29284C #3E3E74 #54539C #7776B6 #9F9ECB

Accessibility & contrast

On white

6.79
#54539C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#54539C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #54539C
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54539C#FFFFFF#000000##FFFFFF
##54539C1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365E9F
Deuteranopia (green-blind)
#31599A
Tritanopia (blue-blind)
#3C6270
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #54539c;
/* rgb */ color: rgb(84, 83, 156);
/* oklch */ color: oklch(47.9% 0.115 281.8);
Tailwind
colors: {
  custom: {
    50: '#8883b9',
    500: '#54539c',
    950: '#000000',
  },
}
SCSS
$custom: #54539c;
$custom-light: #8883b9;
$custom-dark: #000000;
JSON
{
  "hex": "#54539c",
  "rgb": {
    "r": 84,
    "g": 83,
    "b": 156
  },
  "hsl": {
    "h": 240.822,
    "s": 30.544,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47926,
    "c": 0.11523,
    "h": 281.8
  },
  "luminance": 0.10472
}

Semantic roles & 50–950 ramp

primary
#54539C
secondary
#B8B992
accent
#C761C5
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0A11
muted
#7D7C80

Preview Lab

Preview with #54539C

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

Preview Lab → · Contrast checker → · Palette generator →

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