#5A70EB#5A70EB

#5A70EB is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.4% C 0.186 H 271.9°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5A70EB
RGBrgb(90, 112, 235)
HSLhsl(231, 78%, 64%)
HSVhsv(231, 62%, 92%)
CMYKcmyk(61.7%, 52.3%, 0%, 7.8%)
CIE-LABlab(51.56, 29.15, -64.79)
CIE-LCHlch(51.56, 71.04, 294.22°)
OKLaboklab(59.36% 0.0062 -0.1858)
OKLCHoklch(59.36% 0.186 271.9)
XYZxyz(25.0010, 19.7581, 81.0773)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A70EB #EBD55A
analogous
#5AB8EB #5A70EB #8C5AEB
triadic
#5A70EB #EB5A70 #70EB5A
tetradic
#5A70EB #EB5AB8 #EBD55A #5AEB8C
square
#5A70EB #EB5AB8 #EBD55A #5AEB8C
split-complementary
#5A70EB #EB8C5A #B8EB5A
monochromatic
#162EB5 #2341E4 #5A70EB #919FF2 #C7CFF8

Accessibility & contrast

On white

4.24
#5A70EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#5A70EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A70EB
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A70EB#FFFFFF#000000##000000
##5A70EB1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2282EF
Deuteranopia (green-blind)
#0075E8
Tritanopia (blue-blind)
#008DA3
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5a70eb;
/* rgb */ color: rgb(90, 112, 235);
/* oklch */ color: oklch(59.4% 0.186 271.9);
Tailwind
colors: {
  custom: {
    50: '#9698f2',
    500: '#5a70eb',
    950: '#000000',
  },
}
SCSS
$custom: #5a70eb;
$custom-light: #9698f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a70eb",
  "rgb": {
    "r": 90,
    "g": 112,
    "b": 235
  },
  "hsl": {
    "h": 230.897,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59355,
    "c": 0.18595,
    "h": 271.9
  },
  "luminance": 0.1976
}

Semantic roles & 50–950 ramp

primary
#5A70EB
secondary
#EAE2B7
accent
#BB0BDB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5A70EB

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

Preview Lab → · Contrast checker → · Palette generator →

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