#5A70DD#5A70DD

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

Color values

HEX#5A70DD
RGBrgb(90, 112, 221)
HSLhsl(230, 66%, 61%)
HSVhsv(230, 59%, 87%)
CMYKcmyk(59.3%, 49.3%, 0%, 13.3%)
CIE-LABlab(50.66, 24.49, -58.36)
CIE-LCHlch(50.66, 63.29, 292.76°)
OKLaboklab(58.39% 0.005 -0.1669)
OKLCHoklch(58.39% 0.167 271.7)
XYZxyz(23.0574, 18.9806, 70.8412)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A70DD #DDC75A
analogous
#5AB1DD #5A70DD #855ADD
triadic
#5A70DD #DD5A70 #70DD5A
tetradic
#5A70DD #DD5AB1 #DDC75A #5ADD85
square
#5A70DD #DD5AB1 #DDC75A #5ADD85
split-complementary
#5A70DD #DD855A #B1DD5A
monochromatic
#20359C #2B46CF #5A70DD #8D9CE7 #BFC8F2

Accessibility & contrast

On white

4.38
#5A70DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#5A70DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A70DD
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A70DD#FFFFFF#000000##000000
##5A70DD1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#377FE1
Deuteranopia (green-blind)
#1D73DB
Tritanopia (blue-blind)
#00899C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5a70dd;
/* rgb */ color: rgb(90, 112, 221);
/* oklch */ color: oklch(58.4% 0.167 271.7);
Tailwind
colors: {
  custom: {
    50: '#9498e8',
    500: '#5a70dd',
    950: '#000000',
  },
}
SCSS
$custom: #5a70dd;
$custom-light: #9498e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a70dd",
  "rgb": {
    "r": 90,
    "g": 112,
    "b": 221
  },
  "hsl": {
    "h": 229.924,
    "s": 65.829,
    "l": 60.98
  },
  "oklch": {
    "l": 0.5839,
    "c": 0.16702,
    "h": 271.7
  },
  "luminance": 0.18982
}

Semantic roles & 50–950 ramp

primary
#5A70DD
secondary
#E2DAB1
accent
#AF18CE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5A70DD

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

Preview Lab → · Contrast checker → · Palette generator →

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