#5C70EF#5C70EF

#5C70EF is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.8% C 0.191 H 272.6°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#5C70EF
RGBrgb(92, 112, 239)
HSLhsl(232, 82%, 65%)
HSVhsv(232, 62%, 94%)
CMYKcmyk(61.5%, 53.1%, 0%, 6.3%)
CIE-LABlab(51.94, 30.81, -66.41)
CIE-LCHlch(51.94, 73.21, 294.89°)
OKLaboklab(59.76% 0.0085 -0.1906)
OKLCHoklch(59.76% 0.191 272.6)
XYZxyz(25.7826, 20.0935, 84.1644)
Luminance0.2010 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C70EF #EFDB5C
analogous
#5CB9EF #5C70EF #925CEF
triadic
#5C70EF #EF5C70 #70EF5C
tetradic
#5C70EF #EF5CB9 #EFDB5C #5CEF92
square
#5C70EF #EF5CB9 #EFDB5C #5CEF92
split-complementary
#5C70EF #EF925C #B9EF5C
monochromatic
#132ABE #243FEA #5C70EF #94A1F4 #CBD2FA

Accessibility & contrast

On white

4.18
#5C70EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#5C70EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C70EF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C70EF#FFFFFF#000000##000000
##5C70EF1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1983F3
Deuteranopia (green-blind)
#0076EC
Tritanopia (blue-blind)
#008EA5
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5c70ef;
/* rgb */ color: rgb(92, 112, 239);
/* oklch */ color: oklch(59.8% 0.191 272.6);
Tailwind
colors: {
  custom: {
    50: '#9798f5',
    500: '#5c70ef',
    950: '#000000',
  },
}
SCSS
$custom: #5c70ef;
$custom-light: #9798f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5c70ef",
  "rgb": {
    "r": 92,
    "g": 112,
    "b": 239
  },
  "hsl": {
    "h": 231.837,
    "s": 82.123,
    "l": 64.902
  },
  "oklch": {
    "l": 0.59755,
    "c": 0.19075,
    "h": 272.6
  },
  "luminance": 0.20096
}

Semantic roles & 50–950 ramp

primary
#5C70EF
secondary
#ECE6BA
accent
#C107DF
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5C70EF

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

Preview Lab → · Contrast checker → · Palette generator →

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