#5B70E9#5B70E9

#5B70E9 is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.3% C 0.183 H 272.2°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#5B70E9
RGBrgb(91, 112, 233)
HSLhsl(231, 76%, 64%)
HSVhsv(231, 61%, 91%)
CMYKcmyk(60.9%, 51.9%, 0%, 8.6%)
CIE-LABlab(51.49, 28.65, -63.79)
CIE-LCHlch(51.49, 69.92, 294.19°)
OKLaboklab(59.27% 0.0071 -0.1829)
OKLCHoklch(59.27% 0.183 272.2)
XYZxyz(24.8116, 19.6936, 79.5687)
Luminance0.1970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B70E9 #E9D45B
analogous
#5BB7E9 #5B70E9 #8D5BE9
triadic
#5B70E9 #E95B70 #70E95B
tetradic
#5B70E9 #E95BB7 #E9D45B #5BE98D
square
#5B70E9 #E95BB7 #E9D45B #5BE98D
split-complementary
#5B70E9 #E98D5B #B7E95B
monochromatic
#182FB2 #2541E2 #5B70E9 #919FF0 #C7CEF7

Accessibility & contrast

On white

4.25
#5B70E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#5B70E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B70E9
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B70E9#FFFFFF#000000##000000
##5B70E91.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2681ED
Deuteranopia (green-blind)
#0075E7
Tritanopia (blue-blind)
#008CA2
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5b70e9;
/* rgb */ color: rgb(91, 112, 233);
/* oklch */ color: oklch(59.3% 0.183 272.2);
Tailwind
colors: {
  custom: {
    50: '#9698f1',
    500: '#5b70e9',
    950: '#000000',
  },
}
SCSS
$custom: #5b70e9;
$custom-light: #9698f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b70e9",
  "rgb": {
    "r": 91,
    "g": 112,
    "b": 233
  },
  "hsl": {
    "h": 231.127,
    "s": 76.344,
    "l": 63.529
  },
  "oklch": {
    "l": 0.59273,
    "c": 0.18301,
    "h": 272.2
  },
  "luminance": 0.19696
}

Semantic roles & 50–950 ramp

primary
#5B70E9
secondary
#E9E2B7
accent
#BA0DD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5B70E9

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

Preview Lab → · Contrast checker → · Palette generator →

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