#5C70EB#5C70EB

#5C70EB is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.5% C 0.185 H 272.6°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#5C70EB
RGBrgb(92, 112, 235)
HSLhsl(232, 78%, 64%)
HSVhsv(232, 61%, 92%)
CMYKcmyk(60.9%, 52.3%, 0%, 7.8%)
CIE-LABlab(51.68, 29.49, -64.60)
CIE-LCHlch(51.68, 71.01, 294.54°)
OKLaboklab(59.47% 0.0083 -0.1852)
OKLCHoklch(59.47% 0.185 272.6)
XYZxyz(25.1982, 19.8597, 81.0866)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C70EB #EBD75C
analogous
#5CB8EB #5C70EB #905CEB
triadic
#5C70EB #EB5C70 #70EB5C
tetradic
#5C70EB #EB5CB8 #EBD75C #5CEB90
square
#5C70EB #EB5CB8 #EBD75C #5CEB90
split-complementary
#5C70EB #EB905C #B8EB5C
monochromatic
#162DB6 #2540E4 #5C70EB #93A0F2 #C9D0F8

Accessibility & contrast

On white

4.22
#5C70EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#5C70EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C70EB
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C70EB#FFFFFF#000000##000000
##5C70EB1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2382EF
Deuteranopia (green-blind)
#0075E8
Tritanopia (blue-blind)
#008DA3
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5c70eb;
/* rgb */ color: rgb(92, 112, 235);
/* oklch */ color: oklch(59.5% 0.185 272.6);
Tailwind
colors: {
  custom: {
    50: '#9798f2',
    500: '#5c70eb',
    950: '#000000',
  },
}
SCSS
$custom: #5c70eb;
$custom-light: #9798f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c70eb",
  "rgb": {
    "r": 92,
    "g": 112,
    "b": 235
  },
  "hsl": {
    "h": 231.608,
    "s": 78.142,
    "l": 64.118
  },
  "oklch": {
    "l": 0.59472,
    "c": 0.18542,
    "h": 272.6
  },
  "luminance": 0.19862
}

Semantic roles & 50–950 ramp

primary
#5C70EB
secondary
#EAE3B8
accent
#BD0BDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5C70EB

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

Preview Lab → · Contrast checker → · Palette generator →

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