#5A70E3#5A70E3

#5A70E3 is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.8% C 0.175 H 271.8°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#5A70E3
RGBrgb(90, 112, 227)
HSLhsl(230, 71%, 62%)
HSVhsv(230, 60%, 89%)
CMYKcmyk(60.4%, 50.7%, 0%, 11%)
CIE-LABlab(51.04, 26.48, -61.14)
CIE-LCHlch(51.04, 66.63, 293.42°)
OKLaboklab(58.8% 0.0056 -0.1751)
OKLCHoklch(58.8% 0.175 271.8)
XYZxyz(23.8711, 19.3061, 75.1267)
Luminance0.1931 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A70E3 #E3CD5A
analogous
#5AB5E3 #5A70E3 #895AE3
triadic
#5A70E3 #E35A70 #70E35A
tetradic
#5A70E3 #E35AB5 #E3CD5A #5AE389
square
#5A70E3 #E35AB5 #E3CD5A #5AE389
split-complementary
#5A70E3 #E3895A #B5E35A
monochromatic
#1C32A6 #2643DA #5A70E3 #8E9DEC #C3CBF5

Accessibility & contrast

On white

4.32
#5A70E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#5A70E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A70E3
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A70E3#FFFFFF#000000##000000
##5A70E31.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F80E7
Deuteranopia (green-blind)
#0674E1
Tritanopia (blue-blind)
#008B9F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5a70e3;
/* rgb */ color: rgb(90, 112, 227);
/* oklch */ color: oklch(58.8% 0.175 271.8);
Tailwind
colors: {
  custom: {
    50: '#9498ec',
    500: '#5a70e3',
    950: '#000000',
  },
}
SCSS
$custom: #5a70e3;
$custom-light: #9498ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5a70e3",
  "rgb": {
    "r": 90,
    "g": 112,
    "b": 227
  },
  "hsl": {
    "h": 230.365,
    "s": 70.984,
    "l": 62.157
  },
  "oklch": {
    "l": 0.58798,
    "c": 0.17519,
    "h": 271.8
  },
  "luminance": 0.19308
}

Semantic roles & 50–950 ramp

primary
#5A70E3
secondary
#E6DDB3
accent
#B412D3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5A70E3

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

Preview Lab → · Contrast checker → · Palette generator →

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