#5D5CA3#5D5CA3

#5D5CA3 is a mid, moderate blue. Relative luminance 0.126; OKLCH L 50.9% C 0.111 H 282.4°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#5D5CA3
RGBrgb(93, 92, 163)
HSLhsl(241, 28%, 50%)
HSVhsv(241, 44%, 64%)
CMYKcmyk(42.9%, 43.6%, 0%, 36.1%)
CIE-LABlab(42.19, 19.07, -38.34)
CIE-LCHlch(42.19, 42.82, 296.45°)
OKLaboklab(50.91% 0.0237 -0.1083)
OKLCHoklch(50.91% 0.111 282.4)
XYZxyz(14.9503, 12.6252, 36.2924)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5CA3 #A2A35C
analogous
#5C7FA3 #5D5CA3 #805CA3
triadic
#5D5CA3 #A35D5C #5CA35D
tetradic
#5D5CA3 #A35C7F #A2A35C #5CA380
square
#5D5CA3 #A35C7F #A2A35C #5CA380
split-complementary
#5D5CA3 #A3805C #7FA35C
monochromatic
#303055 #47467C #5D5CA3 #8483B9 #ABAACF

Accessibility & contrast

On white

5.96
#5D5CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#5D5CA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5CA3
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5CA3#FFFFFF#000000##FFFFFF
##5D5CA31.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4266A6
Deuteranopia (green-blind)
#3E61A1
Tritanopia (blue-blind)
#476A77
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5d5ca3;
/* rgb */ color: rgb(93, 92, 163);
/* oklch */ color: oklch(50.9% 0.111 282.4);
Tailwind
colors: {
  custom: {
    50: '#8e8abe',
    500: '#5d5ca3',
    950: '#000000',
  },
}
SCSS
$custom: #5d5ca3;
$custom-light: #8e8abe;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5ca3",
  "rgb": {
    "r": 93,
    "g": 92,
    "b": 163
  },
  "hsl": {
    "h": 240.845,
    "s": 27.843,
    "l": 50
  },
  "oklch": {
    "l": 0.50907,
    "c": 0.11084,
    "h": 282.4
  },
  "luminance": 0.12626
}

Semantic roles & 50–950 ramp

primary
#5D5CA3
secondary
#BDBD9D
accent
#C464C3
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0D0B12
muted
#7D7C81

Preview Lab

Preview with #5D5CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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