#5D70E1#5D70E1

#5D70E1 is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.8% C 0.172 H 272.8°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#5D70E1
RGBrgb(93, 112, 225)
HSLhsl(231, 69%, 62%)
HSVhsv(231, 59%, 88%)
CMYKcmyk(58.7%, 50.2%, 0%, 11.8%)
CIE-LABlab(51.09, 26.37, -59.92)
CIE-LCHlch(51.09, 65.46, 293.75°)
OKLaboklab(58.84% 0.0085 -0.1714)
OKLCHoklch(58.84% 0.172 272.8)
XYZxyz(23.8945, 19.3499, 73.6953)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D70E1 #E1CE5D
analogous
#5DB2E1 #5D70E1 #8C5DE1
triadic
#5D70E1 #E15D70 #70E15D
tetradic
#5D70E1 #E15DB2 #E1CE5D #5DE18C
square
#5D70E1 #E15DB2 #E1CE5D #5DE18C
split-complementary
#5D70E1 #E18C5D #B2E15D
monochromatic
#1F32A5 #2942D7 #5D70E1 #919EEB #C4CBF4

Accessibility & contrast

On white

4.31
#5D70E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#5D70E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D70E1
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D70E1#FFFFFF#000000##000000
##5D70E11.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3380E5
Deuteranopia (green-blind)
#1674DF
Tritanopia (blue-blind)
#008A9E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5d70e1;
/* rgb */ color: rgb(93, 112, 225);
/* oklch */ color: oklch(58.8% 0.172 272.8);
Tailwind
colors: {
  custom: {
    50: '#9698eb',
    500: '#5d70e1',
    950: '#000000',
  },
}
SCSS
$custom: #5d70e1;
$custom-light: #9698eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d70e1",
  "rgb": {
    "r": 93,
    "g": 112,
    "b": 225
  },
  "hsl": {
    "h": 231.364,
    "s": 68.75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.58842,
    "c": 0.17166,
    "h": 272.8
  },
  "luminance": 0.19352
}

Semantic roles & 50–950 ramp

primary
#5D70E1
secondary
#E5DEB5
accent
#B615D1
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5D70E1

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

Preview Lab → · Contrast checker → · Palette generator →

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