#5B70E4#5B70E4

#5B70E4 is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.9% C 0.176 H 272.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5B70E4
RGBrgb(91, 112, 228)
HSLhsl(231, 72%, 63%)
HSVhsv(231, 60%, 89%)
CMYKcmyk(60.1%, 50.9%, 0%, 10.6%)
CIE-LABlab(51.17, 26.99, -61.50)
CIE-LCHlch(51.17, 67.16, 293.70°)
OKLaboklab(58.93% 0.0067 -0.1761)
OKLCHoklch(58.93% 0.176 272.2)
XYZxyz(24.1075, 19.4120, 75.8602)
Luminance0.1941 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B70E4 #E4CF5B
analogous
#5BB4E4 #5B70E4 #8B5BE4
triadic
#5B70E4 #E45B70 #70E45B
tetradic
#5B70E4 #E45BB4 #E4CF5B #5BE48B
square
#5B70E4 #E45BB4 #E4CF5B #5BE48B
split-complementary
#5B70E4 #E48B5B #B4E45B
monochromatic
#1C31A9 #2642DB #5B70E4 #909EED #C4CCF5

Accessibility & contrast

On white

4.30
#5B70E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#5B70E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B70E4
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B70E4#FFFFFF#000000##000000
##5B70E41.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E80E8
Deuteranopia (green-blind)
#0374E2
Tritanopia (blue-blind)
#008B9F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5b70e4;
/* rgb */ color: rgb(91, 112, 228);
/* oklch */ color: oklch(58.9% 0.176 272.2);
Tailwind
colors: {
  custom: {
    50: '#9598ed',
    500: '#5b70e4',
    950: '#000000',
  },
}
SCSS
$custom: #5b70e4;
$custom-light: #9598ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5b70e4",
  "rgb": {
    "r": 91,
    "g": 112,
    "b": 228
  },
  "hsl": {
    "h": 230.803,
    "s": 71.728,
    "l": 62.549
  },
  "oklch": {
    "l": 0.58926,
    "c": 0.17628,
    "h": 272.2
  },
  "luminance": 0.19414
}

Semantic roles & 50–950 ramp

primary
#5B70E4
secondary
#E6DFB4
accent
#B612D4
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5B70E4

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

Preview Lab → · Contrast checker → · Palette generator →

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