#5A70DB#5A70DB

#5A70DB is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.3% C 0.164 H 271.7°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#5A70DB
RGBrgb(90, 112, 219)
HSLhsl(230, 64%, 61%)
HSVhsv(230, 59%, 86%)
CMYKcmyk(58.9%, 48.9%, 0%, 14.1%)
CIE-LABlab(50.54, 23.83, -57.43)
CIE-LCHlch(50.54, 62.18, 292.53°)
OKLaboklab(58.26% 0.0048 -0.1642)
OKLCHoklch(58.26% 0.164 271.7)
XYZxyz(22.7926, 18.8747, 69.4462)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A70DB #DBC55A
analogous
#5AB1DB #5A70DB #845ADB
triadic
#5A70DB #DB5A70 #70DB5A
tetradic
#5A70DB #DB5AB1 #DBC55A #5ADB84
square
#5A70DB #DB5AB1 #DBC55A #5ADB84
split-complementary
#5A70DB #DB845A #B1DB5A
monochromatic
#213699 #2C48CB #5A70DB #8C9CE6 #BEC7F1

Accessibility & contrast

On white

4.40
#5A70DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#5A70DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A70DB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A70DB#FFFFFF#000000##000000
##5A70DB1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#397EDF
Deuteranopia (green-blind)
#2173D9
Tritanopia (blue-blind)
#00889B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5a70db;
/* rgb */ color: rgb(90, 112, 219);
/* oklch */ color: oklch(58.3% 0.164 271.7);
Tailwind
colors: {
  custom: {
    50: '#9398e7',
    500: '#5a70db',
    950: '#000000',
  },
}
SCSS
$custom: #5a70db;
$custom-light: #9398e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a70db",
  "rgb": {
    "r": 90,
    "g": 112,
    "b": 219
  },
  "hsl": {
    "h": 229.767,
    "s": 64.179,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58256,
    "c": 0.16428,
    "h": 271.7
  },
  "luminance": 0.18876
}

Semantic roles & 50–950 ramp

primary
#5A70DB
secondary
#E1D9B0
accent
#AE1ACC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5A70DB

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

Preview Lab → · Contrast checker → · Palette generator →

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