#5A70DF#5A70DF

#5A70DF is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.5% C 0.170 H 271.8°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#5A70DF
RGBrgb(90, 112, 223)
HSLhsl(230, 68%, 61%)
HSVhsv(230, 60%, 87%)
CMYKcmyk(59.6%, 49.8%, 0%, 12.5%)
CIE-LABlab(50.79, 25.15, -59.29)
CIE-LCHlch(50.79, 64.41, 292.99°)
OKLaboklab(58.53% 0.0052 -0.1697)
OKLCHoklch(58.53% 0.17 271.8)
XYZxyz(23.3255, 19.0878, 72.2529)
Luminance0.1909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A70DF #DFC95A
analogous
#5AB3DF #5A70DF #875ADF
triadic
#5A70DF #DF5A70 #70DF5A
tetradic
#5A70DF #DF5AB3 #DFC95A #5ADF87
square
#5A70DF #DF5AB3 #DFC95A #5ADF87
split-complementary
#5A70DF #DF875A #B3DF5A
monochromatic
#1F34A0 #2945D3 #5A70DF #8D9CE9 #C1C9F3

Accessibility & contrast

On white

4.36
#5A70DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#5A70DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A70DF
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A70DF#FFFFFF#000000##000000
##5A70DF1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#347FE3
Deuteranopia (green-blind)
#1773DD
Tritanopia (blue-blind)
#00899D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5a70df;
/* rgb */ color: rgb(90, 112, 223);
/* oklch */ color: oklch(58.5% 0.170 271.8);
Tailwind
colors: {
  custom: {
    50: '#9498ea',
    500: '#5a70df',
    950: '#000000',
  },
}
SCSS
$custom: #5a70df;
$custom-light: #9498ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5a70df",
  "rgb": {
    "r": 90,
    "g": 112,
    "b": 223
  },
  "hsl": {
    "h": 230.075,
    "s": 67.513,
    "l": 61.373
  },
  "oklch": {
    "l": 0.58525,
    "c": 0.16975,
    "h": 271.8
  },
  "luminance": 0.1909
}

Semantic roles & 50–950 ramp

primary
#5A70DF
secondary
#E3DBB2
accent
#B116CF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5A70DF

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

Preview Lab → · Contrast checker → · Palette generator →

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