#5C70DC#5C70DC

#5C70DC is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.4% C 0.165 H 272.4°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#5C70DC
RGBrgb(92, 112, 220)
HSLhsl(231, 65%, 61%)
HSVhsv(231, 58%, 86%)
CMYKcmyk(58.2%, 49.1%, 0%, 13.7%)
CIE-LABlab(50.72, 24.53, -57.70)
CIE-LCHlch(50.72, 62.70, 293.04°)
OKLaboklab(58.44% 0.007 -0.165)
OKLCHoklch(58.44% 0.165 272.4)
XYZxyz(23.1218, 19.0292, 70.1508)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C70DC #DCC85C
analogous
#5CB0DC #5C70DC #885CDC
triadic
#5C70DC #DC5C70 #70DC5C
tetradic
#5C70DC #DC5CB0 #DCC85C #5CDC88
square
#5C70DC #DC5CB0 #DCC85C #5CDC88
split-complementary
#5C70DC #DC885C #B0DC5C
monochromatic
#22359C #2C46CE #5C70DC #8E9CE7 #C1C8F2

Accessibility & contrast

On white

4.37
#5C70DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#5C70DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C70DC
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C70DC#FFFFFF#000000##000000
##5C70DC1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#387FE0
Deuteranopia (green-blind)
#2273DA
Tritanopia (blue-blind)
#00889B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5c70dc;
/* rgb */ color: rgb(92, 112, 220);
/* oklch */ color: oklch(58.4% 0.165 272.4);
Tailwind
colors: {
  custom: {
    50: '#9498e7',
    500: '#5c70dc',
    950: '#000000',
  },
}
SCSS
$custom: #5c70dc;
$custom-light: #9498e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c70dc",
  "rgb": {
    "r": 92,
    "g": 112,
    "b": 220
  },
  "hsl": {
    "h": 230.625,
    "s": 64.646,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58444,
    "c": 0.1651,
    "h": 272.4
  },
  "luminance": 0.19031
}

Semantic roles & 50–950 ramp

primary
#5C70DC
secondary
#E2DAB2
accent
#B019CC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5C70DC

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

Preview Lab → · Contrast checker → · Palette generator →

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