#5D5DCB#5D5DCB

#5D5DCB is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.7% C 0.166 H 279.2°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#5D5DCB
RGBrgb(93, 93, 203)
HSLhsl(240, 51%, 58%)
HSVhsv(240, 54%, 80%)
CMYKcmyk(54.2%, 54.2%, 0%, 20.4%)
CIE-LABlab(44.89, 30.92, -57.39)
CIE-LCHlch(44.89, 65.19, 298.32°)
OKLaboklab(53.73% 0.0267 -0.1642)
OKLCHoklch(53.73% 0.166 279.2)
XYZxyz(19.2047, 14.4664, 58.2687)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5DCB #CBCB5D
analogous
#5D94CB #5D5DCB #945DCB
triadic
#5D5DCB #CB5D5D #5DCB5D
tetradic
#5D5DCB #CB5D94 #CBCB5D #5DCB94
square
#5D5DCB #CB5D94 #CBCB5D #5DCB94
split-complementary
#5D5DCB #CB945D #94CB5D
monochromatic
#2A2A83 #3939B2 #5D5DCB #8B8BDA #BABAE9

Accessibility & contrast

On white

5.39
#5D5DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#5D5DCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5DCB
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5DCB#FFFFFF#000000##FFFFFF
##5D5DCB1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#196FCF
Deuteranopia (green-blind)
#0066C9
Tritanopia (blue-blind)
#29768B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5d5dcb;
/* rgb */ color: rgb(93, 93, 203);
/* oklch */ color: oklch(53.7% 0.166 279.2);
Tailwind
colors: {
  custom: {
    50: '#938bdb',
    500: '#5d5dcb',
    950: '#000000',
  },
}
SCSS
$custom: #5d5dcb;
$custom-light: #938bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5dcb",
  "rgb": {
    "r": 93,
    "g": 93,
    "b": 203
  },
  "hsl": {
    "h": 240,
    "s": 51.402,
    "l": 58.039
  },
  "oklch": {
    "l": 0.53729,
    "c": 0.16633,
    "h": 279.2
  },
  "luminance": 0.14468
}

Semantic roles & 50–950 ramp

primary
#5D5DCB
secondary
#D8D8AC
accent
#DB4DDB
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5D5DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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