#5D5EA5#5D5EA5

#5D5EA5 is a mid, moderate blue. Relative luminance 0.130; OKLCH L 51.4% C 0.111 H 281.2°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#5D5EA5
RGBrgb(93, 94, 165)
HSLhsl(239, 29%, 51%)
HSVhsv(239, 44%, 65%)
CMYKcmyk(43.6%, 43%, 0%, 35.3%)
CIE-LABlab(42.84, 18.42, -38.50)
CIE-LCHlch(42.84, 42.68, 295.57°)
OKLaboklab(51.43% 0.0214 -0.1087)
OKLCHoklch(51.43% 0.111 281.2)
XYZxyz(15.3064, 13.0485, 37.3021)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5EA5 #A5A45D
analogous
#5D82A5 #5D5EA5 #805DA5
triadic
#5D5EA5 #A55D5E #5EA55D
tetradic
#5D5EA5 #A55D82 #A5A45D #5DA580
square
#5D5EA5 #A55D82 #A5A45D #5DA580
split-complementary
#5D5EA5 #A5805D #82A55D
monochromatic
#303157 #46477F #5D5EA5 #8485BB #ACACD1

Accessibility & contrast

On white

5.82
#5D5EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#5D5EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5EA5
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5EA5#FFFFFF#000000##FFFFFF
##5D5EA51.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4468A8
Deuteranopia (green-blind)
#4063A3
Tritanopia (blue-blind)
#466C79
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5d5ea5;
/* rgb */ color: rgb(93, 94, 165);
/* oklch */ color: oklch(51.4% 0.111 281.2);
Tailwind
colors: {
  custom: {
    50: '#8e8bc0',
    500: '#5d5ea5',
    950: '#000000',
  },
}
SCSS
$custom: #5d5ea5;
$custom-light: #8e8bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5ea5",
  "rgb": {
    "r": 93,
    "g": 94,
    "b": 165
  },
  "hsl": {
    "h": 239.167,
    "s": 28.571,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51432,
    "c": 0.11083,
    "h": 281.2
  },
  "luminance": 0.13049
}

Semantic roles & 50–950 ramp

primary
#5D5EA5
secondary
#BFBE9F
accent
#C463C5
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0D0C12
muted
#7D7D81

Preview Lab

Preview with #5D5EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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