#5A70DA#5A70DA

#5A70DA is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.2% C 0.163 H 271.7°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#5A70DA
RGBrgb(90, 112, 218)
HSLhsl(230, 63%, 60%)
HSVhsv(230, 59%, 85%)
CMYKcmyk(58.7%, 48.6%, 0%, 14.5%)
CIE-LABlab(50.48, 23.50, -56.97)
CIE-LCHlch(50.48, 61.62, 292.41°)
OKLaboklab(58.19% 0.0047 -0.1628)
OKLCHoklch(58.19% 0.163 271.7)
XYZxyz(22.6613, 18.8222, 68.7549)
Luminance0.1882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A70DA #DAC45A
analogous
#5AB0DA #5A70DA #845ADA
triadic
#5A70DA #DA5A70 #70DA5A
tetradic
#5A70DA #DA5AB0 #DAC45A #5ADA84
square
#5A70DA #DA5AB0 #DAC45A #5ADA84
split-complementary
#5A70DA #DA845A #B0DA5A
monochromatic
#223698 #2D48CA #5A70DA #8C9BE5 #BEC7F0

Accessibility & contrast

On white

4.41
#5A70DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#5A70DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A70DA
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A70DA#FFFFFF#000000##000000
##5A70DA1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7EDE
Deuteranopia (green-blind)
#2373D8
Tritanopia (blue-blind)
#00889B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5a70da;
/* rgb */ color: rgb(90, 112, 218);
/* oklch */ color: oklch(58.2% 0.163 271.7);
Tailwind
colors: {
  custom: {
    50: '#9398e6',
    500: '#5a70da',
    950: '#000000',
  },
}
SCSS
$custom: #5a70da;
$custom-light: #9398e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5a70da",
  "rgb": {
    "r": 90,
    "g": 112,
    "b": 218
  },
  "hsl": {
    "h": 229.688,
    "s": 63.366,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58189,
    "c": 0.1629,
    "h": 271.7
  },
  "luminance": 0.18824
}

Semantic roles & 50–950 ramp

primary
#5A70DA
secondary
#E0D8AF
accent
#AD1ACB
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5A70DA

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

Preview Lab → · Contrast checker → · Palette generator →

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