#5B70E6#5B70E6

#5B70E6 is a mid, vivid blue. Relative luminance 0.195; OKLCH L 59.1% C 0.179 H 272.2°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#5B70E6
RGBrgb(91, 112, 230)
HSLhsl(231, 74%, 63%)
HSVhsv(231, 60%, 90%)
CMYKcmyk(60.4%, 51.3%, 0%, 9.8%)
CIE-LABlab(51.29, 27.66, -62.42)
CIE-LCHlch(51.29, 68.27, 293.90°)
OKLaboklab(59.06% 0.0069 -0.1788)
OKLCHoklch(59.06% 0.179 272.2)
XYZxyz(24.3867, 19.5237, 77.3309)
Luminance0.1953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B70E6 #E6D15B
analogous
#5BB6E6 #5B70E6 #8B5BE6
triadic
#5B70E6 #E65B70 #70E65B
tetradic
#5B70E6 #E65BB6 #E6D15B #5BE68B
square
#5B70E6 #E65BB6 #E6D15B #5BE68B
split-complementary
#5B70E6 #E68B5B #B6E65B
monochromatic
#1A30AC #2642DE #5B70E6 #909EEE #C5CDF6

Accessibility & contrast

On white

4.28
#5B70E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#5B70E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B70E6
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B70E6#FFFFFF#000000##000000
##5B70E61.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B81EA
Deuteranopia (green-blind)
#0074E4
Tritanopia (blue-blind)
#008BA0
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5b70e6;
/* rgb */ color: rgb(91, 112, 230);
/* oklch */ color: oklch(59.1% 0.179 272.2);
Tailwind
colors: {
  custom: {
    50: '#9598ef',
    500: '#5b70e6',
    950: '#000000',
  },
}
SCSS
$custom: #5b70e6;
$custom-light: #9598ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5b70e6",
  "rgb": {
    "r": 91,
    "g": 112,
    "b": 230
  },
  "hsl": {
    "h": 230.935,
    "s": 73.545,
    "l": 62.941
  },
  "oklch": {
    "l": 0.59064,
    "c": 0.17897,
    "h": 272.2
  },
  "luminance": 0.19526
}

Semantic roles & 50–950 ramp

primary
#5B70E6
secondary
#E7E0B5
accent
#B810D6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5B70E6

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

Preview Lab → · Contrast checker → · Palette generator →

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