#5D5ECB#5D5ECB

#5D5ECB is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.9% C 0.165 H 278.9°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5D5ECB
RGBrgb(93, 94, 203)
HSLhsl(239, 51%, 58%)
HSVhsv(239, 54%, 80%)
CMYKcmyk(54.2%, 53.7%, 0%, 20.4%)
CIE-LABlab(45.14, 30.31, -56.99)
CIE-LCHlch(45.14, 64.55, 298.01°)
OKLaboklab(53.91% 0.0256 -0.163)
OKLCHoklch(53.91% 0.165 278.9)
XYZxyz(19.2930, 14.6431, 58.2981)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5ECB #CBCA5D
analogous
#5D95CB #5D5ECB #935DCB
triadic
#5D5ECB #CB5D5E #5ECB5D
tetradic
#5D5ECB #CB5D95 #CBCA5D #5DCB93
square
#5D5ECB #CB5D95 #CBCA5D #5DCB93
split-complementary
#5D5ECB #CB935D #95CB5D
monochromatic
#2A2B83 #393AB2 #5D5ECB #8B8CDA #BABAE9

Accessibility & contrast

On white

5.35
#5D5ECB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#5D5ECB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5ECB
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5ECB#FFFFFF#000000##FFFFFF
##5D5ECB1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D6FCF
Deuteranopia (green-blind)
#0167C9
Tritanopia (blue-blind)
#29778B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5d5ecb;
/* rgb */ color: rgb(93, 94, 203);
/* oklch */ color: oklch(53.9% 0.165 278.9);
Tailwind
colors: {
  custom: {
    50: '#938bdb',
    500: '#5d5ecb',
    950: '#000000',
  },
}
SCSS
$custom: #5d5ecb;
$custom-light: #938bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5ecb",
  "rgb": {
    "r": 93,
    "g": 94,
    "b": 203
  },
  "hsl": {
    "h": 239.455,
    "s": 51.402,
    "l": 58.039
  },
  "oklch": {
    "l": 0.53914,
    "c": 0.165,
    "h": 278.9
  },
  "luminance": 0.14644
}

Semantic roles & 50–950 ramp

primary
#5D5ECB
secondary
#D8D7AC
accent
#DA4DDB
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5D5ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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