#5C70EC#5C70EC

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

Color values

HEX#5C70EC
RGBrgb(92, 112, 236)
HSLhsl(232, 79%, 64%)
HSVhsv(232, 61%, 93%)
CMYKcmyk(61%, 52.5%, 0%, 7.5%)
CIE-LABlab(51.74, 29.82, -65.05)
CIE-LCHlch(51.74, 71.56, 294.63°)
OKLaboklab(59.54% 0.0083 -0.1866)
OKLCHoklch(59.54% 0.187 272.6)
XYZxyz(25.3431, 19.9177, 81.8496)
Luminance0.1992 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C70EC #ECD85C
analogous
#5CB8EC #5C70EC #905CEC
triadic
#5C70EC #EC5C70 #70EC5C
tetradic
#5C70EC #EC5CB8 #ECD85C #5CEC90
square
#5C70EC #EC5CB8 #ECD85C #5CEC90
split-complementary
#5C70EC #EC905C #B8EC5C
monochromatic
#152CB8 #2540E6 #5C70EC #93A0F2 #CAD0F9

Accessibility & contrast

On white

4.21
#5C70EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#5C70EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C70EC
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C70EC#FFFFFF#000000##000000
##5C70EC1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2182F0
Deuteranopia (green-blind)
#0075E9
Tritanopia (blue-blind)
#008DA3
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5c70ec;
/* rgb */ color: rgb(92, 112, 236);
/* oklch */ color: oklch(59.5% 0.187 272.6);
Tailwind
colors: {
  custom: {
    50: '#9798f3',
    500: '#5c70ec',
    950: '#000000',
  },
}
SCSS
$custom: #5c70ec;
$custom-light: #9798f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c70ec",
  "rgb": {
    "r": 92,
    "g": 112,
    "b": 236
  },
  "hsl": {
    "h": 231.667,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59543,
    "c": 0.18676,
    "h": 272.6
  },
  "luminance": 0.1992
}

Semantic roles & 50–950 ramp

primary
#5C70EC
secondary
#EBE4B9
accent
#BE0ADB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5C70EC

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

Preview Lab → · Contrast checker → · Palette generator →

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