#5D70EA#5D70EA

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

Color values

HEX#5D70EA
RGBrgb(93, 112, 234)
HSLhsl(232, 77%, 64%)
HSVhsv(232, 60%, 92%)
CMYKcmyk(60.3%, 52.1%, 0%, 8.2%)
CIE-LABlab(51.67, 29.33, -64.05)
CIE-LCHlch(51.67, 70.44, 294.61°)
OKLaboklab(59.46% 0.0092 -0.1836)
OKLCHoklch(59.46% 0.184 272.9)
XYZxyz(25.1547, 19.8540, 80.3326)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D70EA #EAD75D
analogous
#5DB7EA #5D70EA #915DEA
triadic
#5D70EA #EA5D70 #70EA5D
tetradic
#5D70EA #EA5DB7 #EAD75D #5DEA91
square
#5D70EA #EA5DB7 #EAD75D #5DEA91
split-complementary
#5D70EA #EA915D #B7EA5D
monochromatic
#172DB5 #2740E3 #5D70EA #93A0F1 #C9D0F8

Accessibility & contrast

On white

4.22
#5D70EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#5D70EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D70EA
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D70EA#FFFFFF#000000##000000
##5D70EA1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2582EE
Deuteranopia (green-blind)
#0075E7
Tritanopia (blue-blind)
#008CA2
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5d70ea;
/* rgb */ color: rgb(93, 112, 234);
/* oklch */ color: oklch(59.5% 0.184 272.9);
Tailwind
colors: {
  custom: {
    50: '#9798f1',
    500: '#5d70ea',
    950: '#000000',
  },
}
SCSS
$custom: #5d70ea;
$custom-light: #9798f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d70ea",
  "rgb": {
    "r": 93,
    "g": 112,
    "b": 234
  },
  "hsl": {
    "h": 231.915,
    "s": 77.049,
    "l": 64.118
  },
  "oklch": {
    "l": 0.59462,
    "c": 0.18382,
    "h": 272.9
  },
  "luminance": 0.19856
}

Semantic roles & 50–950 ramp

primary
#5D70EA
secondary
#EAE3B9
accent
#BE0CD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5D70EA

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

Preview Lab → · Contrast checker → · Palette generator →

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