#54539B#54539B

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

Color values

HEX#54539B
RGBrgb(84, 83, 155)
HSLhsl(241, 30%, 47%)
HSVhsv(241, 46%, 61%)
CMYKcmyk(45.8%, 46.5%, 0%, 39.2%)
CIE-LABlab(38.62, 19.96, -39.29)
CIE-LCHlch(38.62, 44.07, 296.93°)
OKLaboklab(47.86% 0.0233 -0.1113)
OKLCHoklch(47.86% 0.114 281.8)
XYZxyz(12.6641, 10.4373, 32.3513)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54539B #9A9B53
analogous
#53769B #54539B #78539B
triadic
#54539B #9B5453 #539B54
tetradic
#54539B #9B5376 #9A9B53 #539B78
square
#54539B #9B5376 #9A9B53 #539B78
split-complementary
#54539B #9B7853 #769B53
monochromatic
#29284B #3E3E73 #54539B #7776B5 #9E9ECB

Accessibility & contrast

On white

6.80
#54539B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #54539B
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54539B#FFFFFF#000000##FFFFFF
##54539B1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365D9E
Deuteranopia (green-blind)
#325899
Tritanopia (blue-blind)
#3D626F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #54539b;
/* rgb */ color: rgb(84, 83, 155);
/* oklch */ color: oklch(47.9% 0.114 281.8);
Tailwind
colors: {
  custom: {
    50: '#8883b9',
    500: '#54539b',
    950: '#000000',
  },
}
SCSS
$custom: #54539b;
$custom-light: #8883b9;
$custom-dark: #000000;
JSON
{
  "hex": "#54539b",
  "rgb": {
    "r": 84,
    "g": 83,
    "b": 155
  },
  "hsl": {
    "h": 240.833,
    "s": 30.252,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47863,
    "c": 0.11375,
    "h": 281.8
  },
  "luminance": 0.10438
}

Semantic roles & 50–950 ramp

primary
#54539B
secondary
#B7B892
accent
#C661C5
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0A11
muted
#7D7C80

Preview Lab

Preview with #54539B

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

Preview Lab → · Contrast checker → · Palette generator →

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