#5D5CDA#5D5CDA

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

Color values

HEX#5D5CDA
RGBrgb(93, 92, 218)
HSLhsl(240, 63%, 61%)
HSVhsv(240, 58%, 85%)
CMYKcmyk(57.3%, 57.8%, 0%, 14.5%)
CIE-LABlab(45.69, 36.32, -64.68)
CIE-LCHlch(45.69, 74.18, 299.32°)
OKLaboklab(54.65% 0.0279 -0.1857)
OKLCHoklch(54.65% 0.188 278.5)
XYZxyz(20.9922, 15.0419, 68.1133)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5CDA #D9DA5C
analogous
#5C9ADA #5D5CDA #9C5CDA
triadic
#5D5CDA #DA5D5C #5CDA5D
tetradic
#5D5CDA #DA5C9A #D9DA5C #5CDA9C
square
#5D5CDA #DA5C9A #D9DA5C #5CDA9C
split-complementary
#5D5CDA #DA9C5C #9ADA5C
monochromatic
#242399 #2F2ECB #5D5CDA #8F8EE5 #C0C0F1

Accessibility & contrast

On white

5.24
#5D5CDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#5D5CDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5CDA
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5CDA#FFFFFF#000000##FFFFFF
##5D5CDA1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DE
Deuteranopia (green-blind)
#0067D7
Tritanopia (blue-blind)
#0D7A92
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5d5cda;
/* rgb */ color: rgb(93, 92, 218);
/* oklch */ color: oklch(54.7% 0.188 278.5);
Tailwind
colors: {
  custom: {
    50: '#968ae6',
    500: '#5d5cda',
    950: '#000000',
  },
}
SCSS
$custom: #5d5cda;
$custom-light: #968ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5cda",
  "rgb": {
    "r": 93,
    "g": 92,
    "b": 218
  },
  "hsl": {
    "h": 240.476,
    "s": 63,
    "l": 60.784
  },
  "oklch": {
    "l": 0.54651,
    "c": 0.18774,
    "h": 278.5
  },
  "luminance": 0.15043
}

Semantic roles & 50–950 ramp

primary
#5D5CDA
secondary
#E0E1B1
accent
#CB1BC9
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5D5CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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