#5D5BEE#5D5BEE

#5D5BEE is a mid, highly saturated blue. Relative luminance 0.160; OKLCH L 56.0% C 0.215 H 277.5°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#5D5BEE
RGBrgb(93, 91, 238)
HSLhsl(241, 81%, 65%)
HSVhsv(241, 62%, 93%)
CMYKcmyk(60.9%, 61.8%, 0%, 6.7%)
CIE-LABlab(46.95, 43.30, -73.95)
CIE-LCHlch(46.95, 85.70, 300.35°)
OKLaboklab(56.04% 0.0281 -0.2129)
OKLCHoklch(56.04% 0.215 277.5)
XYZxyz(23.6829, 15.9805, 82.7089)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5BEE #ECEE5B
analogous
#5BA3EE #5D5BEE #A65BEE
triadic
#5D5BEE #EE5D5B #5BEE5D
tetradic
#5D5BEE #EE5BA3 #ECEE5B #5BEEA6
square
#5D5BEE #EE5BA3 #ECEE5B #5BEEA6
split-complementary
#5D5BEE #EEA65B #A3EE5B
monochromatic
#1613BB #2624E8 #5D5BEE #9492F4 #CBCAF9

Accessibility & contrast

On white

5.00
#5D5BEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#5D5BEE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5BEE
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5BEE#FFFFFF#000000##FFFFFF
##5D5BEE1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F3
Deuteranopia (green-blind)
#0069EB
Tritanopia (blue-blind)
#00809C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5d5bee;
/* rgb */ color: rgb(93, 91, 238);
/* oklch */ color: oklch(56.0% 0.215 277.5);
Tailwind
colors: {
  custom: {
    50: '#998af5',
    500: '#5d5bee',
    950: '#000000',
  },
}
SCSS
$custom: #5d5bee;
$custom-light: #998af5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5bee",
  "rgb": {
    "r": 93,
    "g": 91,
    "b": 238
  },
  "hsl": {
    "h": 240.816,
    "s": 81.215,
    "l": 64.51
  },
  "oklch": {
    "l": 0.56043,
    "c": 0.21475,
    "h": 277.5
  },
  "luminance": 0.15982
}

Semantic roles & 50–950 ramp

primary
#5D5BEE
secondary
#EBECB9
accent
#DE08DB
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5D5BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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