#5B70E5#5B70E5

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

Color values

HEX#5B70E5
RGBrgb(91, 112, 229)
HSLhsl(231, 73%, 63%)
HSVhsv(231, 60%, 90%)
CMYKcmyk(60.3%, 51.1%, 0%, 10.2%)
CIE-LABlab(51.23, 27.32, -61.96)
CIE-LCHlch(51.23, 67.72, 293.80°)
OKLaboklab(59% 0.0068 -0.1775)
OKLCHoklch(59% 0.178 272.2)
XYZxyz(24.2467, 19.4677, 76.5934)
Luminance0.1947 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B70E5 #E5D05B
analogous
#5BB5E5 #5B70E5 #8B5BE5
triadic
#5B70E5 #E55B70 #70E55B
tetradic
#5B70E5 #E55BB5 #E5D05B #5BE58B
square
#5B70E5 #E55BB5 #E5D05B #5BE58B
split-complementary
#5B70E5 #E58B5B #B5E55B
monochromatic
#1B31AB #2642DD #5B70E5 #909EED #C5CCF6

Accessibility & contrast

On white

4.29
#5B70E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#5B70E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B70E5
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B70E5#FFFFFF#000000##000000
##5B70E51.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b70e5;
/* rgb */ color: rgb(91, 112, 229);
/* oklch */ color: oklch(59.0% 0.178 272.2);
Tailwind
colors: {
  custom: {
    50: '#9598ee',
    500: '#5b70e5',
    950: '#000000',
  },
}
SCSS
$custom: #5b70e5;
$custom-light: #9598ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5b70e5",
  "rgb": {
    "r": 91,
    "g": 112,
    "b": 229
  },
  "hsl": {
    "h": 230.87,
    "s": 72.632,
    "l": 62.745
  },
  "oklch": {
    "l": 0.58995,
    "c": 0.17763,
    "h": 272.2
  },
  "luminance": 0.1947
}

Semantic roles & 50–950 ramp

primary
#5B70E5
secondary
#E7DFB5
accent
#B711D5
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5B70E5

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

Preview Lab → · Contrast checker → · Palette generator →

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