#5D5CCF#5D5CCF

#5D5CCF is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.8% C 0.173 H 279.3°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#5D5CCF
RGBrgb(93, 92, 207)
HSLhsl(241, 55%, 59%)
HSVhsv(241, 56%, 81%)
CMYKcmyk(55.1%, 55.6%, 0%, 18.8%)
CIE-LABlab(44.92, 32.81, -59.64)
CIE-LCHlch(44.92, 68.07, 298.82°)
OKLaboklab(53.84% 0.0278 -0.1708)
OKLCHoklch(53.84% 0.173 279.3)
XYZxyz(19.6003, 14.4852, 60.7825)
Luminance0.1449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5CCF #CECF5C
analogous
#5C94CF #5D5CCF #965CCF
triadic
#5D5CCF #CF5D5C #5CCF5D
tetradic
#5D5CCF #CF5C94 #CECF5C #5CCF96
square
#5D5CCF #CF5C94 #CECF5C #5CCF96
split-complementary
#5D5CCF #CF965C #94CF5C
monochromatic
#292888 #3736B8 #5D5CCF #8C8BDD #BBBBEB

Accessibility & contrast

On white

5.39
#5D5CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#5D5CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5CCF
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5CCF#FFFFFF#000000##FFFFFF
##5D5CCF1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#056FD3
Deuteranopia (green-blind)
#0066CD
Tritanopia (blue-blind)
#24778C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5d5ccf;
/* rgb */ color: rgb(93, 92, 207);
/* oklch */ color: oklch(53.8% 0.173 279.3);
Tailwind
colors: {
  custom: {
    50: '#948ade',
    500: '#5d5ccf',
    950: '#000000',
  },
}
SCSS
$custom: #5d5ccf;
$custom-light: #948ade;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5ccf",
  "rgb": {
    "r": 93,
    "g": 92,
    "b": 207
  },
  "hsl": {
    "h": 240.522,
    "s": 54.502,
    "l": 58.627
  },
  "oklch": {
    "l": 0.53835,
    "c": 0.17307,
    "h": 279.3
  },
  "luminance": 0.14486
}

Semantic roles & 50–950 ramp

primary
#5D5CCF
secondary
#DADAAD
accent
#DE4ADD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5D5CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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