#5D5BA2#5D5BA2

#5D5BA2 is a mid, moderate blue. Relative luminance 0.124; OKLCH L 50.6% C 0.111 H 283.0°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#5D5BA2
RGBrgb(93, 91, 162)
HSLhsl(242, 28%, 50%)
HSVhsv(242, 44%, 64%)
CMYKcmyk(42.6%, 43.8%, 0%, 36.5%)
CIE-LABlab(41.87, 19.40, -38.25)
CIE-LCHlch(41.87, 42.89, 296.89°)
OKLaboklab(50.65% 0.0249 -0.108)
OKLCHoklch(50.65% 0.111 283)
XYZxyz(14.7750, 12.4174, 35.7937)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5BA2 #A0A25B
analogous
#5B7DA2 #5D5BA2 #815BA2
triadic
#5D5BA2 #A25D5B #5BA25D
tetradic
#5D5BA2 #A25B7D #A0A25B #5BA281
square
#5D5BA2 #A25B7D #A0A25B #5BA281
split-complementary
#5D5BA2 #A2815B #7DA25B
monochromatic
#302F54 #47457B #5D5BA2 #8382B9 #AAA9CF

Accessibility & contrast

On white

6.03
#5D5BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#5D5BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5BA2
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5BA2#FFFFFF#000000##FFFFFF
##5D5BA21.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4165A5
Deuteranopia (green-blind)
#3E60A0
Tritanopia (blue-blind)
#486976
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5d5ba2;
/* rgb */ color: rgb(93, 91, 162);
/* oklch */ color: oklch(50.6% 0.111 283.0);
Tailwind
colors: {
  custom: {
    50: '#8e89be',
    500: '#5d5ba2',
    950: '#000000',
  },
}
SCSS
$custom: #5d5ba2;
$custom-light: #8e89be;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5ba2",
  "rgb": {
    "r": 93,
    "g": 91,
    "b": 162
  },
  "hsl": {
    "h": 241.69,
    "s": 28.063,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50645,
    "c": 0.11085,
    "h": 283
  },
  "luminance": 0.12418
}

Semantic roles & 50–950 ramp

primary
#5D5BA2
secondary
#BCBD9C
accent
#C463C2
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0D0B12
muted
#7D7C81

Preview Lab

Preview with #5D5BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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