#5C70E7#5C70E7

#5C70E7 is a mid, vivid blue. Relative luminance 0.196; OKLCH L 59.2% C 0.180 H 272.5°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#5C70E7
RGBrgb(92, 112, 231)
HSLhsl(231, 74%, 63%)
HSVhsv(231, 60%, 91%)
CMYKcmyk(60.2%, 51.5%, 0%, 9.4%)
CIE-LABlab(51.42, 28.16, -62.78)
CIE-LCHlch(51.42, 68.80, 294.16°)
OKLaboklab(59.19% 0.008 -0.1799)
OKLCHoklch(59.19% 0.18 272.5)
XYZxyz(24.6268, 19.6312, 78.0772)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C70E7 #E7D35C
analogous
#5CB5E7 #5C70E7 #8D5CE7
triadic
#5C70E7 #E75C70 #70E75C
tetradic
#5C70E7 #E75CB5 #E7D35C #5CE78D
square
#5C70E7 #E75CB5 #E7D35C #5CE78D
split-complementary
#5C70E7 #E78D5C #B5E75C
monochromatic
#1A2FAF #2741DF #5C70E7 #919FEF #C7CEF7

Accessibility & contrast

On white

4.26
#5C70E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#5C70E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C70E7
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C70E7#FFFFFF#000000##000000
##5C70E71.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A81EB
Deuteranopia (green-blind)
#0075E5
Tritanopia (blue-blind)
#008CA1
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5c70e7;
/* rgb */ color: rgb(92, 112, 231);
/* oklch */ color: oklch(59.2% 0.180 272.5);
Tailwind
colors: {
  custom: {
    50: '#9698ef',
    500: '#5c70e7',
    950: '#000000',
  },
}
SCSS
$custom: #5c70e7;
$custom-light: #9698ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5c70e7",
  "rgb": {
    "r": 92,
    "g": 112,
    "b": 231
  },
  "hsl": {
    "h": 231.367,
    "s": 74.332,
    "l": 63.333
  },
  "oklch": {
    "l": 0.59193,
    "c": 0.18006,
    "h": 272.5
  },
  "luminance": 0.19633
}

Semantic roles & 50–950 ramp

primary
#5C70E7
secondary
#E8E1B7
accent
#BA0FD6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5C70E7

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

Preview Lab → · Contrast checker → · Palette generator →

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