#5D5FCE#5D5FCE

#5D5FCE is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.3% C 0.168 H 278.5°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#5D5FCE
RGBrgb(93, 95, 206)
HSLhsl(239, 54%, 59%)
HSVhsv(239, 55%, 81%)
CMYKcmyk(54.9%, 53.9%, 0%, 19.2%)
CIE-LABlab(45.59, 30.65, -57.99)
CIE-LCHlch(45.59, 65.59, 297.86°)
OKLaboklab(54.31% 0.0247 -0.1659)
OKLCHoklch(54.31% 0.168 278.5)
XYZxyz(19.7435, 14.9665, 60.2290)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5FCE #CECC5D
analogous
#5D97CE #5D5FCE #935DCE
triadic
#5D5FCE #CE5D5F #5FCE5D
tetradic
#5D5FCE #CE5D97 #CECC5D #5DCE93
square
#5D5FCE #CE5D97 #CECC5D #5DCE93
split-complementary
#5D5FCE #CE935D #97CE5D
monochromatic
#292B88 #3739B7 #5D5FCE #8C8DDC #BBBCEA

Accessibility & contrast

On white

5.26
#5D5FCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#5D5FCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5FCE
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5FCE#FFFFFF#000000##FFFFFF
##5D5FCE1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B71D2
Deuteranopia (green-blind)
#0067CC
Tritanopia (blue-blind)
#25788D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5d5fce;
/* rgb */ color: rgb(93, 95, 206);
/* oklch */ color: oklch(54.3% 0.168 278.5);
Tailwind
colors: {
  custom: {
    50: '#948cde',
    500: '#5d5fce',
    950: '#000000',
  },
}
SCSS
$custom: #5d5fce;
$custom-light: #948cde;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5fce",
  "rgb": {
    "r": 93,
    "g": 95,
    "b": 206
  },
  "hsl": {
    "h": 238.938,
    "s": 53.555,
    "l": 58.627
  },
  "oklch": {
    "l": 0.54311,
    "c": 0.16776,
    "h": 278.5
  },
  "luminance": 0.14968
}

Semantic roles & 50–950 ramp

primary
#5D5FCE
secondary
#DAD9AD
accent
#DA4BDD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5D5FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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