#5D5CF3#5D5CF3

#5D5CF3 is a mid, highly saturated blue. Relative luminance 0.165; OKLCH L 56.6% C 0.220 H 277.0°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#5D5CF3
RGBrgb(93, 92, 243)
HSLhsl(240, 86%, 66%)
HSVhsv(240, 62%, 95%)
CMYKcmyk(61.7%, 62.1%, 0%, 4.7%)
CIE-LABlab(47.56, 44.30, -75.76)
CIE-LCHlch(47.56, 87.76, 300.32°)
OKLaboklab(56.61% 0.027 -0.2182)
OKLCHoklch(56.61% 0.22 277)
XYZxyz(24.5138, 16.4506, 86.6601)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5CF3 #F2F35C
analogous
#5CA7F3 #5D5CF3 #A85CF3
triadic
#5D5CF3 #F35D5C #5CF35D
tetradic
#5D5CF3 #F35CA7 #F2F35C #5CF3A8
square
#5D5CF3 #F35CA7 #F2F35C #5CF3A8
split-complementary
#5D5CF3 #F3A85C #A7F35C
monochromatic
#100FC6 #2423EF #5D5CF3 #9695F7 #CECEFB

Accessibility & contrast

On white

4.89
#5D5CF3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#5D5CF3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5CF3
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5CF3#FFFFFF#000000##FFFFFF
##5D5CF31.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F8
Deuteranopia (green-blind)
#006AF0
Tritanopia (blue-blind)
#00829F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5d5cf3;
/* rgb */ color: rgb(93, 92, 243);
/* oklch */ color: oklch(56.6% 0.220 277.0);
Tailwind
colors: {
  custom: {
    50: '#9a8af8',
    500: '#5d5cf3',
    950: '#000000',
  },
}
SCSS
$custom: #5d5cf3;
$custom-light: #9a8af8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5cf3",
  "rgb": {
    "r": 93,
    "g": 92,
    "b": 243
  },
  "hsl": {
    "h": 240.397,
    "s": 86.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.56611,
    "c": 0.21986,
    "h": 277
  },
  "luminance": 0.16453
}

Semantic roles & 50–950 ramp

primary
#5D5CF3
secondary
#EEEFBC
accent
#E303E1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5D5CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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