#5B70DC#5B70DC

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

Color values

HEX#5B70DC
RGBrgb(91, 112, 220)
HSLhsl(230, 65%, 61%)
HSVhsv(230, 59%, 86%)
CMYKcmyk(58.6%, 49.1%, 0%, 13.7%)
CIE-LABlab(50.66, 24.35, -57.80)
CIE-LCHlch(50.66, 62.72, 292.84°)
OKLaboklab(58.38% 0.0059 -0.1653)
OKLCHoklch(58.38% 0.165 272.1)
XYZxyz(23.0226, 18.9780, 70.1462)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B70DC #DCC75B
analogous
#5BB0DC #5B70DC #865BDC
triadic
#5B70DC #DC5B70 #70DC5B
tetradic
#5B70DC #DC5BB0 #DCC75B #5BDC86
square
#5B70DC #DC5BB0 #DCC75B #5BDC86
split-complementary
#5B70DC #DC865B #B0DC5B
monochromatic
#21359B #2C46CE #5B70DC #8D9CE7 #C0C8F2

Accessibility & contrast

On white

4.38
#5B70DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#5B70DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B70DC
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B70DC#FFFFFF#000000##000000
##5B70DC1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#387EE0
Deuteranopia (green-blind)
#2073DA
Tritanopia (blue-blind)
#00899B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5b70dc;
/* rgb */ color: rgb(91, 112, 220);
/* oklch */ color: oklch(58.4% 0.165 272.1);
Tailwind
colors: {
  custom: {
    50: '#9498e7',
    500: '#5b70dc',
    950: '#000000',
  },
}
SCSS
$custom: #5b70dc;
$custom-light: #9498e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b70dc",
  "rgb": {
    "r": 91,
    "g": 112,
    "b": 220
  },
  "hsl": {
    "h": 230.233,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.58383,
    "c": 0.16537,
    "h": 272.1
  },
  "luminance": 0.1898
}

Semantic roles & 50–950 ramp

primary
#5B70DC
secondary
#E2DAB1
accent
#AF19CD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5B70DC

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

Preview Lab → · Contrast checker → · Palette generator →

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