#5B70ED#5B70ED

#5B70ED is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.6% C 0.188 H 272.2°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#5B70ED
RGBrgb(91, 112, 237)
HSLhsl(231, 80%, 64%)
HSVhsv(231, 62%, 93%)
CMYKcmyk(61.6%, 52.7%, 0%, 7.1%)
CIE-LABlab(51.75, 29.98, -65.60)
CIE-LCHlch(51.75, 72.13, 294.56°)
OKLaboklab(59.56% 0.0074 -0.1882)
OKLCHoklch(59.56% 0.188 272.2)
XYZxyz(25.3895, 19.9248, 82.6122)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B70ED #EDD85B
analogous
#5BB9ED #5B70ED #8F5BED
triadic
#5B70ED #ED5B70 #70ED5B
tetradic
#5B70ED #ED5BB9 #EDD85B #5BED8F
square
#5B70ED #ED5BB9 #EDD85B #5BED8F
split-complementary
#5B70ED #ED8F5B #B9ED5B
monochromatic
#142CB9 #2440E7 #5B70ED #92A0F3 #C9D0F9

Accessibility & contrast

On white

4.21
#5B70ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#5B70ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B70ED
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B70ED#FFFFFF#000000##000000
##5B70ED1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E82F1
Deuteranopia (green-blind)
#0075EA
Tritanopia (blue-blind)
#008DA4
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5b70ed;
/* rgb */ color: rgb(91, 112, 237);
/* oklch */ color: oklch(59.6% 0.188 272.2);
Tailwind
colors: {
  custom: {
    50: '#9798f4',
    500: '#5b70ed',
    950: '#000000',
  },
}
SCSS
$custom: #5b70ed;
$custom-light: #9798f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5b70ed",
  "rgb": {
    "r": 91,
    "g": 112,
    "b": 237
  },
  "hsl": {
    "h": 231.37,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59555,
    "c": 0.18835,
    "h": 272.2
  },
  "luminance": 0.19927
}

Semantic roles & 50–950 ramp

primary
#5B70ED
secondary
#EBE4B9
accent
#BE09DD
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5B70ED

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

Preview Lab → · Contrast checker → · Palette generator →

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