#5D5BDC#5D5BDC

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

Color values

HEX#5D5BDC
RGBrgb(93, 91, 220)
HSLhsl(241, 65%, 61%)
HSVhsv(241, 59%, 86%)
CMYKcmyk(57.7%, 58.6%, 0%, 13.7%)
CIE-LABlab(45.60, 37.56, -65.97)
CIE-LCHlch(45.60, 75.92, 299.66°)
OKLaboklab(54.63% 0.0288 -0.1894)
OKLCHoklch(54.63% 0.192 278.6)
XYZxyz(21.1694, 14.9751, 69.4712)
Luminance0.1498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5BDC #DADC5B
analogous
#5B99DC #5D5BDC #9D5BDC
triadic
#5D5BDC #DC5D5B #5BDC5D
tetradic
#5D5BDC #DC5B99 #DADC5B #5BDC9D
square
#5D5BDC #DC5B99 #DADC5B #5BDC9D
split-complementary
#5D5BDC #DC9D5B #99DC5B
monochromatic
#23219B #2E2CCE #5D5BDC #8F8DE7 #C1C0F2

Accessibility & contrast

On white

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

On black

4.00
#5D5BDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5D5BDC#FFFFFF#000000##FFFFFF
##5D5BDC1.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E0
Deuteranopia (green-blind)
#0067D9
Tritanopia (blue-blind)
#057A93
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5d5bdc;
/* rgb */ color: rgb(93, 91, 220);
/* oklch */ color: oklch(54.6% 0.192 278.6);
Tailwind
colors: {
  custom: {
    50: '#9689e8',
    500: '#5d5bdc',
    950: '#000000',
  },
}
SCSS
$custom: #5d5bdc;
$custom-light: #9689e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5bdc",
  "rgb": {
    "r": 93,
    "g": 91,
    "b": 220
  },
  "hsl": {
    "h": 240.93,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.54629,
    "c": 0.19163,
    "h": 278.6
  },
  "luminance": 0.14977
}

Semantic roles & 50–950 ramp

primary
#5D5BDC
secondary
#E1E2B1
accent
#CD19CA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5D5BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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