#5D6CEA#5D6CEA

#5D6CEA is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.7% C 0.189 H 273.9°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#5D6CEA
RGBrgb(93, 108, 234)
HSLhsl(234, 77%, 64%)
HSVhsv(234, 60%, 92%)
CMYKcmyk(60.3%, 53.8%, 0%, 8.2%)
CIE-LABlab(50.68, 31.77, -65.65)
CIE-LCHlch(50.68, 72.94, 295.83°)
OKLaboklab(58.72% 0.013 -0.1884)
OKLCHoklch(58.72% 0.189 273.9)
XYZxyz(24.7232, 18.9908, 80.1887)
Luminance0.1899 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6CEA #EADB5D
analogous
#5DB3EA #5D6CEA #955DEA
triadic
#5D6CEA #EA5D6C #6CEA5D
tetradic
#5D6CEA #EA5DB3 #EADB5D #5DEA95
square
#5D6CEA #EA5DB3 #EADB5D #5DEA95
split-complementary
#5D6CEA #EA955D #B3EA5D
monochromatic
#1728B5 #273BE3 #5D6CEA #939DF1 #C9CEF8

Accessibility & contrast

On white

4.38
#5D6CEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#5D6CEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D6CEA
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6CEA#FFFFFF#000000##000000
##5D6CEA1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#127FEE
Deuteranopia (green-blind)
#0073E7
Tritanopia (blue-blind)
#008AA1
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5d6cea;
/* rgb */ color: rgb(93, 108, 234);
/* oklch */ color: oklch(58.7% 0.189 273.9);
Tailwind
colors: {
  custom: {
    50: '#9796f1',
    500: '#5d6cea',
    950: '#000000',
  },
}
SCSS
$custom: #5d6cea;
$custom-light: #9796f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6cea",
  "rgb": {
    "r": 93,
    "g": 108,
    "b": 234
  },
  "hsl": {
    "h": 233.617,
    "s": 77.049,
    "l": 64.118
  },
  "oklch": {
    "l": 0.58715,
    "c": 0.18881,
    "h": 273.9
  },
  "luminance": 0.18993
}

Semantic roles & 50–950 ramp

primary
#5D6CEA
secondary
#EAE5B9
accent
#C30CD9
background
#FAF9FE
surface
#F3F1FD
border
#CDCBD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5D6CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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