#5D5CF9#5D5CF9

#5D5CF9 is a mid, highly saturated blue. Relative luminance 0.168; OKLCH L 57.1% C 0.227 H 276.7°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#5D5CF9
RGBrgb(93, 92, 249)
HSLhsl(240, 93%, 67%)
HSVhsv(240, 63%, 98%)
CMYKcmyk(62.7%, 63.1%, 0%, 2.4%)
CIE-LABlab(48.03, 46.21, -78.34)
CIE-LCHlch(48.03, 90.96, 300.53°)
OKLaboklab(57.1% 0.0265 -0.2258)
OKLCHoklch(57.1% 0.227 276.7)
XYZxyz(25.4347, 16.8189, 91.5102)
Luminance0.1682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5CF9 #F8F95C
analogous
#5CAAF9 #5D5CF9 #AC5CF9
triadic
#5D5CF9 #F95D5C #5CF95D
tetradic
#5D5CF9 #F95CAA #F8F95C #5CF9AC
square
#5D5CF9 #F95CAA #F8F95C #5CF9AC
split-complementary
#5D5CF9 #F9AC5C #AAF95C
monochromatic
#0908D3 #2221F7 #5D5CF9 #9897FB #D2D2FD

Accessibility & contrast

On white

4.81
#5D5CF9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#5D5CF9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5CF9
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5CF9#FFFFFF#000000##FFFFFF
##5D5CF91.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d5cf9;
/* rgb */ color: rgb(93, 92, 249);
/* oklch */ color: oklch(57.1% 0.227 276.7);
Tailwind
colors: {
  custom: {
    50: '#9b8bfc',
    500: '#5d5cf9',
    950: '#000000',
  },
}
SCSS
$custom: #5d5cf9;
$custom-light: #9b8bfc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5cf9",
  "rgb": {
    "r": 93,
    "g": 92,
    "b": 249
  },
  "hsl": {
    "h": 240.382,
    "s": 92.899,
    "l": 66.863
  },
  "oklch": {
    "l": 0.57102,
    "c": 0.22734,
    "h": 276.7
  },
  "luminance": 0.16821
}

Semantic roles & 50–950 ramp

primary
#5D5CF9
secondary
#F1F2BF
accent
#E600E4
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #5D5CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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