#5D70EB#5D70EB

#5D70EB is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.5% C 0.185 H 272.9°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#5D70EB
RGBrgb(93, 112, 235)
HSLhsl(232, 78%, 64%)
HSVhsv(232, 60%, 92%)
CMYKcmyk(60.4%, 52.3%, 0%, 7.8%)
CIE-LABlab(51.74, 29.66, -64.50)
CIE-LCHlch(51.74, 70.99, 294.70°)
OKLaboklab(59.53% 0.0093 -0.1849)
OKLCHoklch(59.53% 0.185 272.9)
XYZxyz(25.2988, 19.9116, 81.0913)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D70EB #EBD85D
analogous
#5DB7EB #5D70EB #915DEB
triadic
#5D70EB #EB5D70 #70EB5D
tetradic
#5D70EB #EB5DB7 #EBD85D #5DEB91
square
#5D70EB #EB5DB7 #EBD85D #5DEB91
split-complementary
#5D70EB #EB915D #B7EB5D
monochromatic
#172CB7 #2740E4 #5D70EB #93A0F2 #CAD0F8

Accessibility & contrast

On white

4.21
#5D70EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#5D70EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D70EB
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D70EB#FFFFFF#000000##000000
##5D70EB1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2382EF
Deuteranopia (green-blind)
#0075E8
Tritanopia (blue-blind)
#008DA3
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5d70eb;
/* rgb */ color: rgb(93, 112, 235);
/* oklch */ color: oklch(59.5% 0.185 272.9);
Tailwind
colors: {
  custom: {
    50: '#9798f2',
    500: '#5d70eb',
    950: '#000000',
  },
}
SCSS
$custom: #5d70eb;
$custom-light: #9798f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d70eb",
  "rgb": {
    "r": 93,
    "g": 112,
    "b": 235
  },
  "hsl": {
    "h": 231.972,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59532,
    "c": 0.18516,
    "h": 272.9
  },
  "luminance": 0.19914
}

Semantic roles & 50–950 ramp

primary
#5D70EB
secondary
#EBE4B9
accent
#BF0BDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5D70EB

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

Preview Lab → · Contrast checker → · Palette generator →

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