#5A70DE#5A70DE

#5A70DE is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.5% C 0.168 H 271.7°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#5A70DE
RGBrgb(90, 112, 222)
HSLhsl(230, 67%, 61%)
HSVhsv(230, 59%, 87%)
CMYKcmyk(59.5%, 49.5%, 0%, 12.9%)
CIE-LABlab(50.73, 24.82, -58.83)
CIE-LCHlch(50.73, 63.85, 292.88°)
OKLaboklab(58.46% 0.0051 -0.1683)
OKLCHoklch(58.46% 0.168 271.7)
XYZxyz(23.1911, 19.0341, 71.5449)
Luminance0.1904 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A70DE #DEC85A
analogous
#5AB2DE #5A70DE #865ADE
triadic
#5A70DE #DE5A70 #70DE5A
tetradic
#5A70DE #DE5AB2 #DEC85A #5ADE86
square
#5A70DE #DE5AB2 #DEC85A #5ADE86
split-complementary
#5A70DE #DE865A #B2DE5A
monochromatic
#20359E #2A46D1 #5A70DE #8D9CE8 #C0C8F2

Accessibility & contrast

On white

4.37
#5A70DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#5A70DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A70DE
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A70DE#FFFFFF#000000##000000
##5A70DE1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#367FE2
Deuteranopia (green-blind)
#1A73DC
Tritanopia (blue-blind)
#00899C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5a70de;
/* rgb */ color: rgb(90, 112, 222);
/* oklch */ color: oklch(58.5% 0.168 271.7);
Tailwind
colors: {
  custom: {
    50: '#9498e9',
    500: '#5a70de',
    950: '#000000',
  },
}
SCSS
$custom: #5a70de;
$custom-light: #9498e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5a70de",
  "rgb": {
    "r": 90,
    "g": 112,
    "b": 222
  },
  "hsl": {
    "h": 230,
    "s": 66.667,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58457,
    "c": 0.16839,
    "h": 271.7
  },
  "luminance": 0.19036
}

Semantic roles & 50–950 ramp

primary
#5A70DE
secondary
#E3DAB1
accent
#B017CF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5A70DE

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

Preview Lab → · Contrast checker → · Palette generator →

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