#5B70EC#5B70EC

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

Color values

HEX#5B70EC
RGBrgb(91, 112, 236)
HSLhsl(231, 79%, 64%)
HSVhsv(231, 61%, 93%)
CMYKcmyk(61.4%, 52.5%, 0%, 7.5%)
CIE-LABlab(51.69, 29.65, -65.15)
CIE-LCHlch(51.69, 71.58, 294.47°)
OKLaboklab(59.48% 0.0073 -0.1869)
OKLCHoklch(59.48% 0.187 272.2)
XYZxyz(25.2438, 19.8665, 81.8449)
Luminance0.1987 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B70EC #ECD75B
analogous
#5BB9EC #5B70EC #8F5BEC
triadic
#5B70EC #EC5B70 #70EC5B
tetradic
#5B70EC #EC5BB9 #ECD75B #5BEC8F
square
#5B70EC #EC5BB9 #ECD75B #5BEC8F
split-complementary
#5B70EC #EC8F5B #B9EC5B
monochromatic
#152DB7 #2440E6 #5B70EC #92A0F2 #C9D0F9

Accessibility & contrast

On white

4.22
#5B70EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#5B70EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B70EC
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B70EC#FFFFFF#000000##000000
##5B70EC1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2082F0
Deuteranopia (green-blind)
#0075E9
Tritanopia (blue-blind)
#008DA3
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5b70ec;
/* rgb */ color: rgb(91, 112, 236);
/* oklch */ color: oklch(59.5% 0.187 272.2);
Tailwind
colors: {
  custom: {
    50: '#9698f3',
    500: '#5b70ec',
    950: '#000000',
  },
}
SCSS
$custom: #5b70ec;
$custom-light: #9698f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b70ec",
  "rgb": {
    "r": 91,
    "g": 112,
    "b": 236
  },
  "hsl": {
    "h": 231.31,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.59484,
    "c": 0.18702,
    "h": 272.2
  },
  "luminance": 0.19869
}

Semantic roles & 50–950 ramp

primary
#5B70EC
secondary
#EBE3B8
accent
#BD0ADC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5B70EC

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

Preview Lab → · Contrast checker → · Palette generator →

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