#5D5CF1#5D5CF1

#5D5CF1 is a mid, highly saturated blue. Relative luminance 0.163; OKLCH L 56.5% C 0.217 H 277.2°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#5D5CF1
RGBrgb(93, 92, 241)
HSLhsl(240, 84%, 65%)
HSVhsv(240, 62%, 95%)
CMYKcmyk(61.4%, 61.8%, 0%, 5.5%)
CIE-LABlab(47.41, 43.67, -74.89)
CIE-LCHlch(47.41, 86.69, 300.24°)
OKLaboklab(56.45% 0.0271 -0.2157)
OKLCHoklch(56.45% 0.217 277.2)
XYZxyz(24.2134, 16.3304, 85.0781)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5CF1 #F0F15C
analogous
#5CA5F1 #5D5CF1 #A85CF1
triadic
#5D5CF1 #F15D5C #5CF15D
tetradic
#5D5CF1 #F15CA5 #F0F15C #5CF1A8
square
#5D5CF1 #F15CA5 #F0F15C #5CF1A8
split-complementary
#5D5CF1 #F1A85C #A5F15C
monochromatic
#1211C2 #2524EC #5D5CF1 #9594F6 #CDCDFB

Accessibility & contrast

On white

4.92
#5D5CF1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#5D5CF1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5CF1
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5CF1#FFFFFF#000000##FFFFFF
##5D5CF11.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F6
Deuteranopia (green-blind)
#006AEE
Tritanopia (blue-blind)
#00819E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5d5cf1;
/* rgb */ color: rgb(93, 92, 241);
/* oklch */ color: oklch(56.5% 0.217 277.2);
Tailwind
colors: {
  custom: {
    50: '#998af7',
    500: '#5d5cf1',
    950: '#000000',
  },
}
SCSS
$custom: #5d5cf1;
$custom-light: #998af7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5cf1",
  "rgb": {
    "r": 93,
    "g": 92,
    "b": 241
  },
  "hsl": {
    "h": 240.403,
    "s": 84.181,
    "l": 65.294
  },
  "oklch": {
    "l": 0.5645,
    "c": 0.21735,
    "h": 277.2
  },
  "luminance": 0.16332
}

Semantic roles & 50–950 ramp

primary
#5D5CF1
secondary
#EDEEBB
accent
#E105DF
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5D5CF1

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

Preview Lab → · Contrast checker → · Palette generator →

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