#5C70EA#5C70EA

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

Color values

HEX#5C70EA
RGBrgb(92, 112, 234)
HSLhsl(232, 77%, 64%)
HSVhsv(232, 61%, 92%)
CMYKcmyk(60.7%, 52.1%, 0%, 8.2%)
CIE-LABlab(51.61, 29.16, -64.14)
CIE-LCHlch(51.61, 70.46, 294.44°)
OKLaboklab(59.4% 0.0082 -0.1839)
OKLCHoklch(59.4% 0.184 272.5)
XYZxyz(25.0542, 19.8021, 80.3278)
Luminance0.1980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C70EA #EAD65C
analogous
#5CB7EA #5C70EA #8F5CEA
triadic
#5C70EA #EA5C70 #70EA5C
tetradic
#5C70EA #EA5CB7 #EAD65C #5CEA8F
square
#5C70EA #EA5CB7 #EAD65C #5CEA8F
split-complementary
#5C70EA #EA8F5C #B7EA5C
monochromatic
#172DB4 #2640E3 #5C70EA #92A0F1 #C8CFF8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C70EA#FFFFFF#000000##000000
##5C70EA1.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)
#2581EE
Deuteranopia (green-blind)
#0075E7
Tritanopia (blue-blind)
#008CA2
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5c70ea;
/* rgb */ color: rgb(92, 112, 234);
/* oklch */ color: oklch(59.4% 0.184 272.5);
Tailwind
colors: {
  custom: {
    50: '#9798f1',
    500: '#5c70ea',
    950: '#000000',
  },
}
SCSS
$custom: #5c70ea;
$custom-light: #9798f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c70ea",
  "rgb": {
    "r": 92,
    "g": 112,
    "b": 234
  },
  "hsl": {
    "h": 231.549,
    "s": 77.174,
    "l": 63.922
  },
  "oklch": {
    "l": 0.59402,
    "c": 0.18408,
    "h": 272.5
  },
  "luminance": 0.19804
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C70EA

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

Preview Lab → · Contrast checker → · Palette generator →

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