#5A70BC#5A70BC

#5A70BC is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.3% C 0.121 H 270.0°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#5A70BC
RGBrgb(90, 112, 188)
HSLhsl(227, 42%, 55%)
HSVhsv(227, 52%, 74%)
CMYKcmyk(52.1%, 40.4%, 0%, 26.3%)
CIE-LABlab(48.75, 13.69, -42.58)
CIE-LCHlch(48.75, 44.73, 287.83°)
OKLaboklab(56.31% 0 -0.1206)
OKLCHoklch(56.31% 0.121 270)
XYZxyz(19.0848, 17.3916, 49.9184)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A70BC #BCA65A
analogous
#5AA1BC #5A70BC #755ABC
triadic
#5A70BC #BC5A70 #70BC5A
tetradic
#5A70BC #BC5AA1 #BCA65A #5ABC75
square
#5A70BC #BC5AA1 #BCA65A #5ABC75
split-complementary
#5A70BC #BC755A #A1BC5A
monochromatic
#2D3C6F #3F539A #5A70BC #8696CE #B1BBDF

Accessibility & contrast

On white

4.69
#5A70BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#5A70BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A70BC
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A70BC#FFFFFF#000000##FFFFFF
##5A70BC1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5178BF
Deuteranopia (green-blind)
#4770BA
Tritanopia (blue-blind)
#2D808D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5a70bc;
/* rgb */ color: rgb(90, 112, 188);
/* oklch */ color: oklch(56.3% 0.121 270.0);
Tailwind
colors: {
  custom: {
    50: '#8f98d0',
    500: '#5a70bc',
    950: '#000000',
  },
}
SCSS
$custom: #5a70bc;
$custom-light: #8f98d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a70bc",
  "rgb": {
    "r": 90,
    "g": 112,
    "b": 188
  },
  "hsl": {
    "h": 226.531,
    "s": 42.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56309,
    "c": 0.12061,
    "h": 270
  },
  "luminance": 0.17393
}

Semantic roles & 50–950 ramp

primary
#5A70BC
secondary
#CEC4A4
accent
#B656D2
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0D14
muted
#7E7E82

Preview Lab

Preview with #5A70BC

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

Preview Lab → · Contrast checker → · Palette generator →

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