#5C70E4#5C70E4

#5C70E4 is a mid, vivid blue. Relative luminance 0.195; OKLCH L 59.0% C 0.176 H 272.5°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#5C70E4
RGBrgb(92, 112, 228)
HSLhsl(231, 72%, 63%)
HSVhsv(231, 60%, 89%)
CMYKcmyk(59.6%, 50.9%, 0%, 10.6%)
CIE-LABlab(51.22, 27.17, -61.40)
CIE-LCHlch(51.22, 67.15, 293.87°)
OKLaboklab(58.99% 0.0077 -0.1758)
OKLCHoklch(58.99% 0.176 272.5)
XYZxyz(24.2068, 19.4632, 75.8649)
Luminance0.1946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C70E4 #E4D05C
analogous
#5CB4E4 #5C70E4 #8C5CE4
triadic
#5C70E4 #E45C70 #70E45C
tetradic
#5C70E4 #E45CB4 #E4D05C #5CE48C
square
#5C70E4 #E45CB4 #E4D05C #5CE48C
split-complementary
#5C70E4 #E48C5C #B4E45C
monochromatic
#1C31AA #2742DB #5C70E4 #919EED #C5CCF5

Accessibility & contrast

On white

4.29
#5C70E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#5C70E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C70E4
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C70E4#FFFFFF#000000##000000
##5C70E41.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F80E8
Deuteranopia (green-blind)
#0674E2
Tritanopia (blue-blind)
#008B9F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5c70e4;
/* rgb */ color: rgb(92, 112, 228);
/* oklch */ color: oklch(59.0% 0.176 272.5);
Tailwind
colors: {
  custom: {
    50: '#9698ed',
    500: '#5c70e4',
    950: '#000000',
  },
}
SCSS
$custom: #5c70e4;
$custom-light: #9698ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5c70e4",
  "rgb": {
    "r": 92,
    "g": 112,
    "b": 228
  },
  "hsl": {
    "h": 231.176,
    "s": 71.579,
    "l": 62.745
  },
  "oklch": {
    "l": 0.58986,
    "c": 0.176,
    "h": 272.5
  },
  "luminance": 0.19465
}

Semantic roles & 50–950 ramp

primary
#5C70E4
secondary
#E7DFB5
accent
#B712D4
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5C70E4

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

Preview Lab → · Contrast checker → · Palette generator →

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