#5D6CEB#5D6CEB

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

Color values

HEX#5D6CEB
RGBrgb(93, 108, 235)
HSLhsl(234, 78%, 64%)
HSVhsv(234, 60%, 92%)
CMYKcmyk(60.4%, 54%, 0%, 7.8%)
CIE-LABlab(50.74, 32.10, -66.10)
CIE-LCHlch(50.74, 73.49, 295.90°)
OKLaboklab(58.79% 0.0131 -0.1897)
OKLCHoklch(58.79% 0.19 273.9)
XYZxyz(24.8672, 19.0484, 80.9474)
Luminance0.1905 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6CEB #EBDC5D
analogous
#5DB3EB #5D6CEB #955DEB
triadic
#5D6CEB #EB5D6C #6CEB5D
tetradic
#5D6CEB #EB5DB3 #EBDC5D #5DEB95
square
#5D6CEB #EB5DB3 #EBDC5D #5DEB95
split-complementary
#5D6CEB #EB955D #B3EB5D
monochromatic
#1728B7 #273BE4 #5D6CEB #939DF2 #CACFF8

Accessibility & contrast

On white

4.37
#5D6CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#5D6CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D6CEB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6CEB#FFFFFF#000000##000000
##5D6CEB1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E7FEF
Deuteranopia (green-blind)
#0073E8
Tritanopia (blue-blind)
#008AA1
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5d6ceb;
/* rgb */ color: rgb(93, 108, 235);
/* oklch */ color: oklch(58.8% 0.190 273.9);
Tailwind
colors: {
  custom: {
    50: '#9796f2',
    500: '#5d6ceb',
    950: '#000000',
  },
}
SCSS
$custom: #5d6ceb;
$custom-light: #9796f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6ceb",
  "rgb": {
    "r": 93,
    "g": 108,
    "b": 235
  },
  "hsl": {
    "h": 233.662,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.58787,
    "c": 0.19014,
    "h": 273.9
  },
  "luminance": 0.1905
}

Semantic roles & 50–950 ramp

primary
#5D6CEB
secondary
#EBE5B9
accent
#C40BDA
background
#FAF9FE
surface
#F3F1FD
border
#CDCBD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5D6CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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