#5D5BEB#5D5BEB

#5D5BEB is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 55.8% C 0.211 H 277.7°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#5D5BEB
RGBrgb(93, 91, 235)
HSLhsl(241, 78%, 64%)
HSVhsv(241, 61%, 92%)
CMYKcmyk(60.4%, 61.3%, 0%, 7.8%)
CIE-LABlab(46.72, 42.35, -72.64)
CIE-LCHlch(46.72, 84.08, 300.24°)
OKLaboklab(55.8% 0.0283 -0.209)
OKLCHoklch(55.8% 0.211 277.7)
XYZxyz(23.2459, 15.8057, 80.4070)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5BEB #E9EB5B
analogous
#5BA1EB #5D5BEB #A55BEB
triadic
#5D5BEB #EB5D5B #5BEB5D
tetradic
#5D5BEB #EB5BA1 #E9EB5B #5BEBA5
square
#5D5BEB #EB5BA1 #E9EB5B #5BEBA5
split-complementary
#5D5BEB #EBA55B #A1EB5B
monochromatic
#1816B5 #2724E4 #5D5BEB #9392F2 #C9C8F8

Accessibility & contrast

On white

5.05
#5D5BEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#5D5BEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5BEB
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5BEB#FFFFFF#000000##FFFFFF
##5D5BEB1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F0
Deuteranopia (green-blind)
#0069E8
Tritanopia (blue-blind)
#007F9A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5d5beb;
/* rgb */ color: rgb(93, 91, 235);
/* oklch */ color: oklch(55.8% 0.211 277.7);
Tailwind
colors: {
  custom: {
    50: '#988af2',
    500: '#5d5beb',
    950: '#000000',
  },
}
SCSS
$custom: #5d5beb;
$custom-light: #988af2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5beb",
  "rgb": {
    "r": 93,
    "g": 91,
    "b": 235
  },
  "hsl": {
    "h": 240.833,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.55803,
    "c": 0.21095,
    "h": 277.7
  },
  "luminance": 0.15807
}

Semantic roles & 50–950 ramp

primary
#5D5BEB
secondary
#E9EAB8
accent
#DB0BD8
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5D5BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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