#5D5CF5#5D5CF5

#5D5CF5 is a mid, highly saturated blue. Relative luminance 0.166; OKLCH L 56.8% C 0.222 H 276.9°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#5D5CF5
RGBrgb(93, 92, 245)
HSLhsl(240, 88%, 66%)
HSVhsv(240, 62%, 96%)
CMYKcmyk(62%, 62.4%, 0%, 3.9%)
CIE-LABlab(47.72, 44.94, -76.62)
CIE-LCHlch(47.72, 88.83, 300.39°)
OKLaboklab(56.77% 0.0268 -0.2207)
OKLCHoklch(56.77% 0.222 276.9)
XYZxyz(24.8174, 16.5720, 88.2594)
Luminance0.1657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5CF5 #F4F55C
analogous
#5CA7F5 #5D5CF5 #A95CF5
triadic
#5D5CF5 #F55D5C #5CF55D
tetradic
#5D5CF5 #F55CA7 #F4F55C #5CF5A9
square
#5D5CF5 #F55CA7 #F4F55C #5CF5A9
split-complementary
#5D5CF5 #F5A95C #A7F55C
monochromatic
#0E0CCA #2422F1 #5D5CF5 #9696F9 #D0CFFC

Accessibility & contrast

On white

4.87
#5D5CF5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#5D5CF5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5CF5
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5CF5#FFFFFF#000000##FFFFFF
##5D5CF51.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078FA
Deuteranopia (green-blind)
#006BF2
Tritanopia (blue-blind)
#0083A0
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5d5cf5;
/* rgb */ color: rgb(93, 92, 245);
/* oklch */ color: oklch(56.8% 0.222 276.9);
Tailwind
colors: {
  custom: {
    50: '#9a8afa',
    500: '#5d5cf5',
    950: '#000000',
  },
}
SCSS
$custom: #5d5cf5;
$custom-light: #9a8afa;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5cf5",
  "rgb": {
    "r": 93,
    "g": 92,
    "b": 245
  },
  "hsl": {
    "h": 240.392,
    "s": 88.439,
    "l": 66.078
  },
  "oklch": {
    "l": 0.56774,
    "c": 0.22236,
    "h": 276.9
  },
  "luminance": 0.16574
}

Semantic roles & 50–950 ramp

primary
#5D5CF5
secondary
#EFF0BD
accent
#E500E4
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5D5CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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