#5B70EF#5B70EF

#5B70EF is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.7% C 0.191 H 272.2°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#5B70EF
RGBrgb(91, 112, 239)
HSLhsl(231, 82%, 65%)
HSVhsv(231, 62%, 94%)
CMYKcmyk(61.9%, 53.1%, 0%, 6.3%)
CIE-LABlab(51.88, 30.64, -66.50)
CIE-LCHlch(51.88, 73.22, 294.74°)
OKLaboklab(59.7% 0.0075 -0.1909)
OKLCHoklch(59.7% 0.191 272.2)
XYZxyz(25.6834, 20.0423, 84.1597)
Luminance0.2004 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B70EF #EFDA5B
analogous
#5BBAEF #5B70EF #905BEF
triadic
#5B70EF #EF5B70 #70EF5B
tetradic
#5B70EF #EF5BBA #EFDA5B #5BEF90
square
#5B70EF #EF5BBA #EFDA5B #5BEF90
split-complementary
#5B70EF #EF905B #BAEF5B
monochromatic
#122BBD #233FEA #5B70EF #93A1F4 #CBD1FA

Accessibility & contrast

On white

4.19
#5B70EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#5B70EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B70EF
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B70EF#FFFFFF#000000##000000
##5B70EF1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1982F3
Deuteranopia (green-blind)
#0075EC
Tritanopia (blue-blind)
#008EA5
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5b70ef;
/* rgb */ color: rgb(91, 112, 239);
/* oklch */ color: oklch(59.7% 0.191 272.2);
Tailwind
colors: {
  custom: {
    50: '#9798f5',
    500: '#5b70ef',
    950: '#000000',
  },
}
SCSS
$custom: #5b70ef;
$custom-light: #9798f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5b70ef",
  "rgb": {
    "r": 91,
    "g": 112,
    "b": 239
  },
  "hsl": {
    "h": 231.486,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.59697,
    "c": 0.19102,
    "h": 272.2
  },
  "luminance": 0.20044
}

Semantic roles & 50–950 ramp

primary
#5B70EF
secondary
#ECE5BA
accent
#C007DF
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5B70EF

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

Preview Lab → · Contrast checker → · Palette generator →

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