#5D70EC#5D70EC

#5D70EC is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.6% C 0.186 H 272.9°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#5D70EC
RGBrgb(93, 112, 236)
HSLhsl(232, 79%, 65%)
HSVhsv(232, 61%, 93%)
CMYKcmyk(60.6%, 52.5%, 0%, 7.5%)
CIE-LABlab(51.80, 29.99, -64.95)
CIE-LCHlch(51.80, 71.54, 294.78°)
OKLaboklab(59.6% 0.0094 -0.1863)
OKLCHoklch(59.6% 0.186 272.9)
XYZxyz(25.4437, 19.9696, 81.8543)
Luminance0.1997 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D70EC #ECD95D
analogous
#5DB8EC #5D70EC #925DEC
triadic
#5D70EC #EC5D70 #70EC5D
tetradic
#5D70EC #EC5DB8 #ECD95D #5DEC92
square
#5D70EC #EC5DB8 #ECD95D #5DEC92
split-complementary
#5D70EC #EC925D #B8EC5D
monochromatic
#162BB9 #2640E6 #5D70EC #94A0F2 #CBD1F9

Accessibility & contrast

On white

4.20
#5D70EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#5D70EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D70EC
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D70EC#FFFFFF#000000##000000
##5D70EC1.004.204.994.99
#FFFFFF4.201.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2182F0
Deuteranopia (green-blind)
#0075E9
Tritanopia (blue-blind)
#008DA3
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5d70ec;
/* rgb */ color: rgb(93, 112, 236);
/* oklch */ color: oklch(59.6% 0.186 272.9);
Tailwind
colors: {
  custom: {
    50: '#9798f3',
    500: '#5d70ec',
    950: '#000000',
  },
}
SCSS
$custom: #5d70ec;
$custom-light: #9798f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d70ec",
  "rgb": {
    "r": 93,
    "g": 112,
    "b": 236
  },
  "hsl": {
    "h": 232.028,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.59602,
    "c": 0.18649,
    "h": 272.9
  },
  "luminance": 0.19972
}

Semantic roles & 50–950 ramp

primary
#5D70EC
secondary
#EBE5BA
accent
#C00ADB
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5D70EC

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

Preview Lab → · Contrast checker → · Palette generator →

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