#5D5DF1#5D5DF1

#5D5DF1 is a mid, highly saturated blue. Relative luminance 0.165; OKLCH L 56.6% C 0.216 H 277.0°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5D5DF1
RGBrgb(93, 93, 241)
HSLhsl(240, 84%, 65%)
HSVhsv(240, 61%, 95%)
CMYKcmyk(61.4%, 61.4%, 0%, 5.5%)
CIE-LABlab(47.63, 43.08, -74.53)
CIE-LCHlch(47.63, 86.08, 300.03°)
OKLaboklab(56.61% 0.0263 -0.2146)
OKLCHoklch(56.61% 0.216 277)
XYZxyz(24.3006, 16.5048, 85.1072)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5DF1 #F1F15D
analogous
#5DA7F1 #5D5DF1 #A75DF1
triadic
#5D5DF1 #F15D5D #5DF15D
tetradic
#5D5DF1 #F15DA7 #F1F15D #5DF1A7
square
#5D5DF1 #F15DA7 #F1F15D #5DF1A7
split-complementary
#5D5DF1 #F1A75D #A7F15D
monochromatic
#1111C3 #2525EC #5D5DF1 #9595F6 #CECEFB

Accessibility & contrast

On white

4.88
#5D5DF1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#5D5DF1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5DF1
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5DF1#FFFFFF#000000##FFFFFF
##5D5DF11.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F6
Deuteranopia (green-blind)
#006BEE
Tritanopia (blue-blind)
#00829E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5d5df1;
/* rgb */ color: rgb(93, 93, 241);
/* oklch */ color: oklch(56.6% 0.216 277.0);
Tailwind
colors: {
  custom: {
    50: '#998bf7',
    500: '#5d5df1',
    950: '#000000',
  },
}
SCSS
$custom: #5d5df1;
$custom-light: #998bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5df1",
  "rgb": {
    "r": 93,
    "g": 93,
    "b": 241
  },
  "hsl": {
    "h": 240,
    "s": 84.091,
    "l": 65.49
  },
  "oklch": {
    "l": 0.56614,
    "c": 0.21618,
    "h": 277
  },
  "luminance": 0.16507
}

Semantic roles & 50–950 ramp

primary
#5D5DF1
secondary
#EEEEBC
accent
#E105E1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5D5DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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