#5A70CE#5A70CE

#5A70CE is a mid, vivid blue. Relative luminance 0.182; OKLCH L 57.4% C 0.146 H 271.2°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#5A70CE
RGBrgb(90, 112, 206)
HSLhsl(229, 54%, 58%)
HSVhsv(229, 56%, 81%)
CMYKcmyk(56.3%, 45.6%, 0%, 19.2%)
CIE-LABlab(49.76, 19.54, -51.30)
CIE-LCHlch(49.76, 54.90, 290.85°)
OKLaboklab(57.41% 0.0032 -0.1462)
OKLCHoklch(57.41% 0.146 271.2)
XYZxyz(21.1475, 18.2167, 60.7823)
Luminance0.1822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A70CE #CEB85A
analogous
#5AAACE #5A70CE #7E5ACE
triadic
#5A70CE #CE5A70 #70CE5A
tetradic
#5A70CE #CE5AAA #CEB85A #5ACE7E
square
#5A70CE #CE5AAA #CEB85A #5ACE7E
split-complementary
#5A70CE #CE7E5A #AACE5A
monochromatic
#283A86 #364EB5 #5A70CE #8999DC #B8C2EA

Accessibility & contrast

On white

4.52
#5A70CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#5A70CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A70CE
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A70CE#FFFFFF#000000##000000
##5A70CE1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#457CD2
Deuteranopia (green-blind)
#3672CC
Tritanopia (blue-blind)
#118595
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5a70ce;
/* rgb */ color: rgb(90, 112, 206);
/* oklch */ color: oklch(57.4% 0.146 271.2);
Tailwind
colors: {
  custom: {
    50: '#9198dd',
    500: '#5a70ce',
    950: '#000000',
  },
}
SCSS
$custom: #5a70ce;
$custom-light: #9198dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5a70ce",
  "rgb": {
    "r": 90,
    "g": 112,
    "b": 206
  },
  "hsl": {
    "h": 228.621,
    "s": 54.206,
    "l": 58.039
  },
  "oklch": {
    "l": 0.57409,
    "c": 0.14622,
    "h": 271.2
  },
  "luminance": 0.18218
}

Semantic roles & 50–950 ramp

primary
#5A70CE
secondary
#D9D0AB
accent
#C24ADE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #5A70CE

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

Preview Lab → · Contrast checker → · Palette generator →

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