#5D5BE9#5D5BE9

#5D5BE9 is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.6% C 0.208 H 277.8°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#5D5BE9
RGBrgb(93, 91, 233)
HSLhsl(241, 76%, 64%)
HSVhsv(241, 61%, 91%)
CMYKcmyk(60.1%, 60.9%, 0%, 8.6%)
CIE-LABlab(46.57, 41.71, -71.76)
CIE-LCHlch(46.57, 83.00, 300.17°)
OKLaboklab(55.64% 0.0284 -0.2065)
OKLCHoklch(55.64% 0.208 277.8)
XYZxyz(22.9585, 15.6908, 78.8938)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5BE9 #E7E95B
analogous
#5BA0E9 #5D5BE9 #A45BE9
triadic
#5D5BE9 #E95D5B #5BE95D
tetradic
#5D5BE9 #E95BA0 #E7E95B #5BE9A4
square
#5D5BE9 #E95BA0 #E7E95B #5BE9A4
split-complementary
#5D5BE9 #E9A45B #A0E95B
monochromatic
#1A18B2 #2825E2 #5D5BE9 #9291F0 #C8C7F7

Accessibility & contrast

On white

5.07
#5D5BE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#5D5BE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5BE9
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5BE9#FFFFFF#000000##FFFFFF
##5D5BE91.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EE
Deuteranopia (green-blind)
#0068E6
Tritanopia (blue-blind)
#007E99
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5d5be9;
/* rgb */ color: rgb(93, 91, 233);
/* oklch */ color: oklch(55.6% 0.208 277.8);
Tailwind
colors: {
  custom: {
    50: '#988af1',
    500: '#5d5be9',
    950: '#000000',
  },
}
SCSS
$custom: #5d5be9;
$custom-light: #988af1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5be9",
  "rgb": {
    "r": 93,
    "g": 91,
    "b": 233
  },
  "hsl": {
    "h": 240.845,
    "s": 76.344,
    "l": 63.529
  },
  "oklch": {
    "l": 0.55643,
    "c": 0.20841,
    "h": 277.8
  },
  "luminance": 0.15693
}

Semantic roles & 50–950 ramp

primary
#5D5BE9
secondary
#E8E9B7
accent
#D90DD6
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5D5BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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