#5D70EF#5D70EF

#5D70EF is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.8% C 0.190 H 272.9°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5D70EF
RGBrgb(93, 112, 239)
HSLhsl(232, 82%, 65%)
HSVhsv(232, 61%, 94%)
CMYKcmyk(61.1%, 53.1%, 0%, 6.3%)
CIE-LABlab(52.00, 30.98, -66.31)
CIE-LCHlch(52.00, 73.19, 295.04°)
OKLaboklab(59.82% 0.0095 -0.1902)
OKLCHoklch(59.82% 0.19 272.9)
XYZxyz(25.8832, 20.1454, 84.1691)
Luminance0.2015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D70EF #EFDC5D
analogous
#5DB9EF #5D70EF #935DEF
triadic
#5D70EF #EF5D70 #70EF5D
tetradic
#5D70EF #EF5DB9 #EFDC5D #5DEF93
square
#5D70EF #EF5DB9 #EFDC5D #5DEF93
split-complementary
#5D70EF #EF935D #B9EF5D
monochromatic
#1329BF #253FE9 #5D70EF #95A1F5 #CCD2FA

Accessibility & contrast

On white

4.18
#5D70EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#5D70EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D70EF
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D70EF#FFFFFF#000000##000000
##5D70EF1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A83F3
Deuteranopia (green-blind)
#0076EC
Tritanopia (blue-blind)
#008EA5
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5d70ef;
/* rgb */ color: rgb(93, 112, 239);
/* oklch */ color: oklch(59.8% 0.190 272.9);
Tailwind
colors: {
  custom: {
    50: '#9898f5',
    500: '#5d70ef',
    950: '#000000',
  },
}
SCSS
$custom: #5d70ef;
$custom-light: #9898f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d70ef",
  "rgb": {
    "r": 93,
    "g": 112,
    "b": 239
  },
  "hsl": {
    "h": 232.192,
    "s": 82.022,
    "l": 65.098
  },
  "oklch": {
    "l": 0.59815,
    "c": 0.19049,
    "h": 272.9
  },
  "luminance": 0.20147
}

Semantic roles & 50–950 ramp

primary
#5D70EF
secondary
#EDE6BB
accent
#C207DE
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5D70EF

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

Preview Lab → · Contrast checker → · Palette generator →

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