#5D5BEC#5D5BEC

#5D5BEC is a mid, highly saturated blue. Relative luminance 0.159; OKLCH L 55.9% C 0.212 H 277.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5D5BEC
RGBrgb(93, 91, 236)
HSLhsl(241, 79%, 64%)
HSVhsv(241, 61%, 93%)
CMYKcmyk(60.6%, 61.4%, 0%, 7.5%)
CIE-LABlab(46.80, 42.66, -73.08)
CIE-LCHlch(46.80, 84.62, 300.28°)
OKLaboklab(55.88% 0.0282 -0.2103)
OKLCHoklch(55.88% 0.212 277.6)
XYZxyz(23.3907, 15.8637, 81.1700)
Luminance0.1587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5BEC #EAEC5B
analogous
#5BA1EC #5D5BEC #A65BEC
triadic
#5D5BEC #EC5D5B #5BEC5D
tetradic
#5D5BEC #EC5BA1 #EAEC5B #5BECA6
square
#5D5BEC #EC5BA1 #EAEC5B #5BECA6
split-complementary
#5D5BEC #ECA65B #A1EC5B
monochromatic
#1715B7 #2724E6 #5D5BEC #9392F2 #C9C9F9

Accessibility & contrast

On white

5.03
#5D5BEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#5D5BEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5BEC
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5BEC#FFFFFF#000000##FFFFFF
##5D5BEC1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F1
Deuteranopia (green-blind)
#0069E9
Tritanopia (blue-blind)
#007F9B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5d5bec;
/* rgb */ color: rgb(93, 91, 236);
/* oklch */ color: oklch(55.9% 0.212 277.6);
Tailwind
colors: {
  custom: {
    50: '#998af3',
    500: '#5d5bec',
    950: '#000000',
  },
}
SCSS
$custom: #5d5bec;
$custom-light: #998af3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5bec",
  "rgb": {
    "r": 93,
    "g": 91,
    "b": 236
  },
  "hsl": {
    "h": 240.828,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.55883,
    "c": 0.21222,
    "h": 277.6
  },
  "luminance": 0.15865
}

Semantic roles & 50–950 ramp

primary
#5D5BEC
secondary
#EAEBB8
accent
#DC0AD9
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5D5BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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