#5D5CDB#5D5CDB

#5D5CDB is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.7% C 0.189 H 278.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#5D5CDB
RGBrgb(93, 92, 219)
HSLhsl(240, 64%, 61%)
HSVhsv(240, 58%, 86%)
CMYKcmyk(57.5%, 58%, 0%, 14.1%)
CIE-LABlab(45.76, 36.64, -65.14)
CIE-LCHlch(45.76, 74.74, 299.36°)
OKLaboklab(54.73% 0.0279 -0.187)
OKLCHoklch(54.73% 0.189 278.5)
XYZxyz(21.1235, 15.0944, 68.8045)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5CDB #DADB5C
analogous
#5C9ADB #5D5CDB #9C5CDB
triadic
#5D5CDB #DB5D5C #5CDB5D
tetradic
#5D5CDB #DB5C9A #DADB5C #5CDB9C
square
#5D5CDB #DB5C9A #DADB5C #5CDB9C
split-complementary
#5D5CDB #DB9C5C #9ADB5C
monochromatic
#23229A #2E2DCD #5D5CDB #8F8EE6 #C1C0F1

Accessibility & contrast

On white

5.22
#5D5CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#5D5CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5CDB
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5CDB#FFFFFF#000000##FFFFFF
##5D5CDB1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#0067D8
Tritanopia (blue-blind)
#087A93
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5d5cdb;
/* rgb */ color: rgb(93, 92, 219);
/* oklch */ color: oklch(54.7% 0.189 278.5);
Tailwind
colors: {
  custom: {
    50: '#968ae7',
    500: '#5d5cdb',
    950: '#000000',
  },
}
SCSS
$custom: #5d5cdb;
$custom-light: #968ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5cdb",
  "rgb": {
    "r": 93,
    "g": 92,
    "b": 219
  },
  "hsl": {
    "h": 240.472,
    "s": 63.819,
    "l": 60.98
  },
  "oklch": {
    "l": 0.54727,
    "c": 0.18906,
    "h": 278.5
  },
  "luminance": 0.15096
}

Semantic roles & 50–950 ramp

primary
#5D5CDB
secondary
#E1E1B1
accent
#CC1ACA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5D5CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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