#5D70E9#5D70E9

#5D70E9 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.4% C 0.182 H 272.9°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5D70E9
RGBrgb(93, 112, 233)
HSLhsl(232, 76%, 64%)
HSVhsv(232, 60%, 91%)
CMYKcmyk(60.1%, 51.9%, 0%, 8.6%)
CIE-LABlab(51.61, 29.00, -63.59)
CIE-LCHlch(51.61, 69.89, 294.52°)
OKLaboklab(59.39% 0.0092 -0.1822)
OKLCHoklch(59.39% 0.182 272.9)
XYZxyz(25.0115, 19.7967, 79.5781)
Luminance0.1980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D70E9 #E9D65D
analogous
#5DB6E9 #5D70E9 #905DE9
triadic
#5D70E9 #E95D70 #70E95D
tetradic
#5D70E9 #E95DB6 #E9D65D #5DE990
square
#5D70E9 #E95DB6 #E9D65D #5DE990
split-complementary
#5D70E9 #E9905D #B6E95D
monochromatic
#182DB3 #2740E2 #5D70E9 #93A0F0 #C9CFF8

Accessibility & contrast

On white

4.23
#5D70E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#5D70E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D70E9
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D70E9#FFFFFF#000000##000000
##5D70E91.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2781ED
Deuteranopia (green-blind)
#0075E6
Tritanopia (blue-blind)
#008CA2
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5d70e9;
/* rgb */ color: rgb(93, 112, 233);
/* oklch */ color: oklch(59.4% 0.182 272.9);
Tailwind
colors: {
  custom: {
    50: '#9798f1',
    500: '#5d70e9',
    950: '#000000',
  },
}
SCSS
$custom: #5d70e9;
$custom-light: #9798f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d70e9",
  "rgb": {
    "r": 93,
    "g": 112,
    "b": 233
  },
  "hsl": {
    "h": 231.857,
    "s": 76.087,
    "l": 63.922
  },
  "oklch": {
    "l": 0.59392,
    "c": 0.18248,
    "h": 272.9
  },
  "luminance": 0.19799
}

Semantic roles & 50–950 ramp

primary
#5D70E9
secondary
#E9E3B8
accent
#BD0DD8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5D70E9

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

Preview Lab → · Contrast checker → · Palette generator →

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