#5D5DF7#5D5DF7

#5D5DF7 is a mid, highly saturated blue. Relative luminance 0.169; OKLCH L 57.1% C 0.224 H 276.6°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#5D5DF7
RGBrgb(93, 93, 247)
HSLhsl(240, 91%, 67%)
HSVhsv(240, 62%, 97%)
CMYKcmyk(62.3%, 62.3%, 0%, 3.1%)
CIE-LABlab(48.09, 44.99, -77.12)
CIE-LCHlch(48.09, 89.29, 300.26°)
OKLaboklab(57.1% 0.0259 -0.2222)
OKLCHoklch(57.1% 0.224 276.6)
XYZxyz(25.2116, 16.8692, 89.9051)
Luminance0.1687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5DF7 #F7F75D
analogous
#5DAAF7 #5D5DF7 #AA5DF7
triadic
#5D5DF7 #F75D5D #5DF75D
tetradic
#5D5DF7 #F75DAA #F7F75D #5DF7AA
square
#5D5DF7 #F75DAA #F7F75D #5DF7AA
split-complementary
#5D5DF7 #F7AA5D #AAF75D
monochromatic
#0A0ACF #2323F4 #5D5DF7 #9797FA #D2D2FD

Accessibility & contrast

On white

4.80
#5D5DF7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#5D5DF7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5DF7
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5DF7#FFFFFF#000000##FFFFFF
##5D5DF71.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079FC
Deuteranopia (green-blind)
#006BF4
Tritanopia (blue-blind)
#0084A2
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5d5df7;
/* rgb */ color: rgb(93, 93, 247);
/* oklch */ color: oklch(57.1% 0.224 276.6);
Tailwind
colors: {
  custom: {
    50: '#9a8bfb',
    500: '#5d5df7',
    950: '#000000',
  },
}
SCSS
$custom: #5d5df7;
$custom-light: #9a8bfb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5df7",
  "rgb": {
    "r": 93,
    "g": 93,
    "b": 247
  },
  "hsl": {
    "h": 240,
    "s": 90.588,
    "l": 66.667
  },
  "oklch": {
    "l": 0.571,
    "c": 0.2237,
    "h": 276.6
  },
  "luminance": 0.16871
}

Semantic roles & 50–950 ramp

primary
#5D5DF7
secondary
#F1F1BF
accent
#E600E5
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C18
muted
#7F7D86

Preview Lab

Preview with #5D5DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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