#54539D#54539D

#54539D is a mid, moderate blue. Relative luminance 0.105; OKLCH L 48.0% C 0.117 H 281.7°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#54539D
RGBrgb(84, 83, 157)
HSLhsl(241, 31%, 47%)
HSVhsv(241, 47%, 62%)
CMYKcmyk(46.5%, 47.1%, 0%, 38.4%)
CIE-LABlab(38.73, 20.59, -40.30)
CIE-LCHlch(38.73, 45.26, 297.06°)
OKLaboklab(47.99% 0.0236 -0.1143)
OKLCHoklch(47.99% 0.117 281.7)
XYZxyz(12.8334, 10.5050, 33.2432)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54539D #9C9D53
analogous
#53779D #54539D #79539D
triadic
#54539D #9D5453 #539D54
tetradic
#54539D #9D5377 #9C9D53 #539D79
square
#54539D #9D5377 #9C9D53 #539D79
split-complementary
#54539D #9D7953 #779D53
monochromatic
#29294D #3F3E75 #54539D #7776B7 #9F9ECC

Accessibility & contrast

On white

6.77
#54539D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#54539D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #54539D
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54539D#FFFFFF#000000##FFFFFF
##54539D1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355EA0
Deuteranopia (green-blind)
#31599B
Tritanopia (blue-blind)
#3B6270
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #54539d;
/* rgb */ color: rgb(84, 83, 157);
/* oklch */ color: oklch(48.0% 0.117 281.7);
Tailwind
colors: {
  custom: {
    50: '#8883ba',
    500: '#54539d',
    950: '#000000',
  },
}
SCSS
$custom: #54539d;
$custom-light: #8883ba;
$custom-dark: #000000;
JSON
{
  "hex": "#54539d",
  "rgb": {
    "r": 84,
    "g": 83,
    "b": 157
  },
  "hsl": {
    "h": 240.811,
    "s": 30.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.4799,
    "c": 0.11671,
    "h": 281.7
  },
  "luminance": 0.10506
}

Semantic roles & 50–950 ramp

primary
#54539D
secondary
#B9B993
accent
#C761C6
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #54539D

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

Preview Lab → · Contrast checker → · Palette generator →

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