#5A70E7#5A70E7

#5A70E7 is a mid, vivid blue. Relative luminance 0.195; OKLCH L 59.1% C 0.181 H 271.9°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#5A70E7
RGBrgb(90, 112, 231)
HSLhsl(231, 75%, 63%)
HSVhsv(231, 61%, 91%)
CMYKcmyk(61%, 51.5%, 0%, 9.4%)
CIE-LABlab(51.30, 27.81, -62.97)
CIE-LCHlch(51.30, 68.84, 293.83°)
OKLaboklab(59.07% 0.0059 -0.1805)
OKLCHoklch(59.07% 0.181 271.9)
XYZxyz(24.4296, 19.5295, 78.0680)
Luminance0.1953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A70E7 #E7D15A
analogous
#5AB7E7 #5A70E7 #8A5AE7
triadic
#5A70E7 #E75A70 #70E75A
tetradic
#5A70E7 #E75AB7 #E7D15A #5AE78A
square
#5A70E7 #E75AB7 #E7D15A #5AE78A
split-complementary
#5A70E7 #E78A5A #B7E75A
monochromatic
#1930AD #2542DF #5A70E7 #8F9EEF #C5CDF7

Accessibility & contrast

On white

4.28
#5A70E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#5A70E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A70E7
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A70E7#FFFFFF#000000##000000
##5A70E71.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2981EB
Deuteranopia (green-blind)
#0074E5
Tritanopia (blue-blind)
#008CA1
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5a70e7;
/* rgb */ color: rgb(90, 112, 231);
/* oklch */ color: oklch(59.1% 0.181 271.9);
Tailwind
colors: {
  custom: {
    50: '#9598ef',
    500: '#5a70e7',
    950: '#000000',
  },
}
SCSS
$custom: #5a70e7;
$custom-light: #9598ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5a70e7",
  "rgb": {
    "r": 90,
    "g": 112,
    "b": 231
  },
  "hsl": {
    "h": 230.638,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.59074,
    "c": 0.1806,
    "h": 271.9
  },
  "luminance": 0.19532
}

Semantic roles & 50–950 ramp

primary
#5A70E7
secondary
#E8E0B5
accent
#B80FD7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #5A70E7

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

Preview Lab → · Contrast checker → · Palette generator →

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