#5D5DF9#5D5DF9

#5D5DF9 is a mid, highly saturated blue. Relative luminance 0.170; OKLCH L 57.3% C 0.226 H 276.5°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#5D5DF9
RGBrgb(93, 93, 249)
HSLhsl(240, 93%, 67%)
HSVhsv(240, 63%, 98%)
CMYKcmyk(62.7%, 62.7%, 0%, 2.4%)
CIE-LABlab(48.25, 45.63, -77.98)
CIE-LCHlch(48.25, 90.35, 300.33°)
OKLaboklab(57.26% 0.0258 -0.2247)
OKLCHoklch(57.26% 0.226 276.5)
XYZxyz(25.5219, 16.9933, 91.5393)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5DF9 #F9F95D
analogous
#5DABF9 #5D5DF9 #AB5DF9
triadic
#5D5DF9 #F95D5D #5DF95D
tetradic
#5D5DF9 #F95DAB #F9F95D #5DF9AB
square
#5D5DF9 #F95DAB #F9F95D #5DF9AB
split-complementary
#5D5DF9 #F9AB5D #ABF95D
monochromatic
#0808D4 #2222F7 #5D5DF9 #9898FB #D3D3FD

Accessibility & contrast

On white

4.77
#5D5DF9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#5D5DF9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5DF9
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5DF9#FFFFFF#000000##FFFFFF
##5D5DF91.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079FE
Deuteranopia (green-blind)
#006CF6
Tritanopia (blue-blind)
#0085A3
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5d5df9;
/* rgb */ color: rgb(93, 93, 249);
/* oklch */ color: oklch(57.3% 0.226 276.5);
Tailwind
colors: {
  custom: {
    50: '#9b8bfc',
    500: '#5d5df9',
    950: '#000000',
  },
}
SCSS
$custom: #5d5df9;
$custom-light: #9b8bfc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5df9",
  "rgb": {
    "r": 93,
    "g": 93,
    "b": 249
  },
  "hsl": {
    "h": 240,
    "s": 92.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.57263,
    "c": 0.22619,
    "h": 276.5
  },
  "luminance": 0.16995
}

Semantic roles & 50–950 ramp

primary
#5D5DF9
secondary
#F2F2C0
accent
#E600E5
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #5D5DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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