#5D5DEF#5D5DEF

#5D5DEF is a mid, highly saturated blue. Relative luminance 0.164; OKLCH L 56.5% C 0.214 H 277.1°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#5D5DEF
RGBrgb(93, 93, 239)
HSLhsl(240, 82%, 65%)
HSVhsv(240, 61%, 94%)
CMYKcmyk(61.1%, 61.1%, 0%, 6.3%)
CIE-LABlab(47.48, 42.44, -73.65)
CIE-LCHlch(47.48, 85.00, 299.95°)
OKLaboklab(56.45% 0.0264 -0.212)
OKLCHoklch(56.45% 0.214 277.1)
XYZxyz(24.0035, 16.3860, 83.5425)
Luminance0.1639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5DEF #EFEF5D
analogous
#5DA6EF #5D5DEF #A65DEF
triadic
#5D5DEF #EF5D5D #5DEF5D
tetradic
#5D5DEF #EF5DA6 #EFEF5D #5DEFA6
square
#5D5DEF #EF5DA6 #EFEF5D #5DEFA6
split-complementary
#5D5DEF #EFA65D #A6EF5D
monochromatic
#1313BF #2525E9 #5D5DEF #9595F5 #CCCCFA

Accessibility & contrast

On white

4.91
#5D5DEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#5D5DEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5DEF
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5DEF#FFFFFF#000000##FFFFFF
##5D5DEF1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F4
Deuteranopia (green-blind)
#006AEC
Tritanopia (blue-blind)
#00819D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5d5def;
/* rgb */ color: rgb(93, 93, 239);
/* oklch */ color: oklch(56.5% 0.214 277.1);
Tailwind
colors: {
  custom: {
    50: '#998bf5',
    500: '#5d5def',
    950: '#000000',
  },
}
SCSS
$custom: #5d5def;
$custom-light: #998bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5def",
  "rgb": {
    "r": 93,
    "g": 93,
    "b": 239
  },
  "hsl": {
    "h": 240,
    "s": 82.022,
    "l": 65.098
  },
  "oklch": {
    "l": 0.56454,
    "c": 0.21364,
    "h": 277.1
  },
  "luminance": 0.16388
}

Semantic roles & 50–950 ramp

primary
#5D5DEF
secondary
#EDEDBB
accent
#DE07DE
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5D5DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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