#5D5FF0#5D5FF0

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

Color values

HEX#5D5FF0
RGBrgb(93, 95, 240)
HSLhsl(239, 83%, 65%)
HSVhsv(239, 61%, 94%)
CMYKcmyk(61.2%, 60.4%, 0%, 5.9%)
CIE-LABlab(48.01, 41.57, -73.35)
CIE-LCHlch(48.01, 84.31, 299.54°)
OKLaboklab(56.87% 0.0246 -0.2111)
OKLCHoklch(56.87% 0.213 276.7)
XYZxyz(24.3295, 16.8009, 84.3820)
Luminance0.1680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5FF0 #F0EE5D
analogous
#5DA8F0 #5D5FF0 #A55DF0
triadic
#5D5FF0 #F05D5F #5FF05D
tetradic
#5D5FF0 #F05DA8 #F0EE5D #5DF0A5
square
#5D5FF0 #F05DA8 #F0EE5D #5DF0A5
split-complementary
#5D5FF0 #F0A55D #A8F05D
monochromatic
#1214C1 #2528EB #5D5FF0 #9596F5 #CDCEFA

Accessibility & contrast

On white

4.82
#5D5FF0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5D5FF0
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5FF0#FFFFFF#000000##FFFFFF
##5D5FF01.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F5
Deuteranopia (green-blind)
#006CED
Tritanopia (blue-blind)
#00839F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5d5ff0;
/* rgb */ color: rgb(93, 95, 240);
/* oklch */ color: oklch(56.9% 0.213 276.7);
Tailwind
colors: {
  custom: {
    50: '#998cf6',
    500: '#5d5ff0',
    950: '#000000',
  },
}
SCSS
$custom: #5d5ff0;
$custom-light: #998cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5ff0",
  "rgb": {
    "r": 93,
    "g": 95,
    "b": 240
  },
  "hsl": {
    "h": 239.184,
    "s": 83.051,
    "l": 65.294
  },
  "oklch": {
    "l": 0.56869,
    "c": 0.21254,
    "h": 276.7
  },
  "luminance": 0.16803
}

Semantic roles & 50–950 ramp

primary
#5D5FF0
secondary
#EDECBC
accent
#DD06DF
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5D5FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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