#5D5DCA#5D5DCA

#5D5DCA is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.7% C 0.165 H 279.3°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#5D5DCA
RGBrgb(93, 93, 202)
HSLhsl(240, 51%, 58%)
HSVhsv(240, 54%, 79%)
CMYKcmyk(54%, 54%, 0%, 20.8%)
CIE-LABlab(44.83, 30.60, -56.92)
CIE-LCHlch(44.83, 64.62, 298.27°)
OKLaboklab(53.66% 0.0266 -0.1628)
OKLCHoklch(53.66% 0.165 279.3)
XYZxyz(19.0859, 14.4189, 57.6431)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5DCA #CACA5D
analogous
#5D93CA #5D5DCA #935DCA
triadic
#5D5DCA #CA5D5D #5DCA5D
tetradic
#5D5DCA #CA5D93 #CACA5D #5DCA93
square
#5D5DCA #CA5D93 #CACA5D #5DCA93
split-complementary
#5D5DCA #CA935D #93CA5D
monochromatic
#2B2B82 #3A3AB0 #5D5DCA #8B8BD9 #B9B9E8

Accessibility & contrast

On white

5.41
#5D5DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#5D5DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5DCA
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5DCA#FFFFFF#000000##FFFFFF
##5D5DCA1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B6ECE
Deuteranopia (green-blind)
#0066C8
Tritanopia (blue-blind)
#2A768A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5d5dca;
/* rgb */ color: rgb(93, 93, 202);
/* oklch */ color: oklch(53.7% 0.165 279.3);
Tailwind
colors: {
  custom: {
    50: '#938bdb',
    500: '#5d5dca',
    950: '#000000',
  },
}
SCSS
$custom: #5d5dca;
$custom-light: #938bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5dca",
  "rgb": {
    "r": 93,
    "g": 93,
    "b": 202
  },
  "hsl": {
    "h": 240,
    "s": 50.698,
    "l": 57.843
  },
  "oklch": {
    "l": 0.53658,
    "c": 0.16496,
    "h": 279.3
  },
  "luminance": 0.1442
}

Semantic roles & 50–950 ramp

primary
#5D5DCA
secondary
#D7D7AC
accent
#DA4EDA
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5D5DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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