#5A70CA#5A70CA

#5A70CA is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.2% C 0.141 H 271.0°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#5A70CA
RGBrgb(90, 112, 202)
HSLhsl(228, 51%, 57%)
HSVhsv(228, 55%, 79%)
CMYKcmyk(55.4%, 44.6%, 0%, 20.8%)
CIE-LABlab(49.53, 18.23, -49.39)
CIE-LCHlch(49.53, 52.64, 290.26°)
OKLaboklab(57.16% 0.0025 -0.1406)
OKLCHoklch(57.16% 0.141 271)
XYZxyz(20.6678, 18.0248, 58.2557)
Luminance0.1803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A70CA #CAB45A
analogous
#5AA8CA #5A70CA #7C5ACA
triadic
#5A70CA #CA5A70 #70CA5A
tetradic
#5A70CA #CA5AA8 #CAB45A #5ACA7C
square
#5A70CA #CA5AA8 #CAB45A #5ACA7C
split-complementary
#5A70CA #CA7C5A #A8CA5A
monochromatic
#293A80 #384FAF #5A70CA #8898D9 #B7C0E8

Accessibility & contrast

On white

4.56
#5A70CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#5A70CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A70CA
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A70CA#FFFFFF#000000##000000
##5A70CA1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#487BCD
Deuteranopia (green-blind)
#3A71C8
Tritanopia (blue-blind)
#1A8493
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5a70ca;
/* rgb */ color: rgb(90, 112, 202);
/* oklch */ color: oklch(57.2% 0.141 271.0);
Tailwind
colors: {
  custom: {
    50: '#9198da',
    500: '#5a70ca',
    950: '#000000',
  },
}
SCSS
$custom: #5a70ca;
$custom-light: #9198da;
$custom-dark: #000000;
JSON
{
  "hex": "#5a70ca",
  "rgb": {
    "r": 90,
    "g": 112,
    "b": 202
  },
  "hsl": {
    "h": 228.214,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57157,
    "c": 0.14059,
    "h": 271
  },
  "luminance": 0.18026
}

Semantic roles & 50–950 ramp

primary
#5A70CA
secondary
#D7CEA9
accent
#BF4DDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #5A70CA

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

Preview Lab → · Contrast checker → · Palette generator →

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