#5B539A#5B539A

#5B539A is a mid, moderate blue. Relative luminance 0.107; OKLCH L 48.4% C 0.111 H 286.6°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#5B539A
RGBrgb(91, 83, 154)
HSLhsl(247, 30%, 46%)
HSVhsv(247, 46%, 60%)
CMYKcmyk(40.9%, 46.1%, 0%, 39.6%)
CIE-LABlab(39.14, 21.49, -37.81)
CIE-LCHlch(39.14, 43.49, 299.61°)
OKLaboklab(48.39% 0.0319 -0.1068)
OKLCHoklch(48.39% 0.111 286.6)
XYZxyz(13.2387, 10.7433, 31.9417)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B539A #929A53
analogous
#536F9A #5B539A #7F539A
triadic
#5B539A #9A5B53 #539A5B
tetradic
#5B539A #9A536F #929A53 #539A7F
square
#5B539A #9A536F #929A53 #539A7F
split-complementary
#5B539A #9A7F53 #6F9A53
monochromatic
#2C284A #443E72 #5B539A #7D75B5 #A29DCA

Accessibility & contrast

On white

6.67
#5B539A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#5B539A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B539A
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B539A#FFFFFF#000000##FFFFFF
##5B539A1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395E9D
Deuteranopia (green-blind)
#385A98
Tritanopia (blue-blind)
#49616F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5b539a;
/* rgb */ color: rgb(91, 83, 154);
/* oklch */ color: oklch(48.4% 0.111 286.6);
Tailwind
colors: {
  custom: {
    50: '#8d83b8',
    500: '#5b539a',
    950: '#000000',
  },
}
SCSS
$custom: #5b539a;
$custom-light: #8d83b8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b539a",
  "rgb": {
    "r": 91,
    "g": 83,
    "b": 154
  },
  "hsl": {
    "h": 246.761,
    "s": 29.958,
    "l": 46.471
  },
  "oklch": {
    "l": 0.4839,
    "c": 0.11147,
    "h": 286.6
  },
  "luminance": 0.10744
}

Semantic roles & 50–950 ramp

primary
#5B539A
secondary
#B3B791
accent
#C662BB
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0A11
muted
#7D7C80

Preview Lab

Preview with #5B539A

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

Preview Lab → · Contrast checker → · Palette generator →

#5B539A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva