#5B70DD#5B70DD

#5B70DD is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.5% C 0.167 H 272.1°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#5B70DD
RGBrgb(91, 112, 221)
HSLhsl(230, 66%, 61%)
HSVhsv(230, 59%, 87%)
CMYKcmyk(58.8%, 49.3%, 0%, 13.3%)
CIE-LABlab(50.72, 24.68, -58.27)
CIE-LCHlch(50.72, 63.28, 292.95°)
OKLaboklab(58.45% 0.006 -0.1666)
OKLCHoklch(58.45% 0.167 272.1)
XYZxyz(23.1554, 19.0311, 70.8458)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B70DD #DDC85B
analogous
#5BB1DD #5B70DD #875BDD
triadic
#5B70DD #DD5B70 #70DD5B
tetradic
#5B70DD #DD5BB1 #DDC85B #5BDD87
square
#5B70DD #DD5BB1 #DDC85B #5BDD87
split-complementary
#5B70DD #DD875B #B1DD5B
monochromatic
#21359D #2B46D0 #5B70DD #8E9CE8 #C0C8F2

Accessibility & contrast

On white

4.37
#5B70DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#5B70DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B70DD
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B70DD#FFFFFF#000000##000000
##5B70DD1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#377FE1
Deuteranopia (green-blind)
#1E73DB
Tritanopia (blue-blind)
#00899C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5b70dd;
/* rgb */ color: rgb(91, 112, 221);
/* oklch */ color: oklch(58.5% 0.167 272.1);
Tailwind
colors: {
  custom: {
    50: '#9498e8',
    500: '#5b70dd',
    950: '#000000',
  },
}
SCSS
$custom: #5b70dd;
$custom-light: #9498e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b70dd",
  "rgb": {
    "r": 91,
    "g": 112,
    "b": 221
  },
  "hsl": {
    "h": 230.308,
    "s": 65.657,
    "l": 61.176
  },
  "oklch": {
    "l": 0.5845,
    "c": 0.16674,
    "h": 272.1
  },
  "luminance": 0.19033
}

Semantic roles & 50–950 ramp

primary
#5B70DD
secondary
#E2DAB1
accent
#B018CE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5B70DD

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

Preview Lab → · Contrast checker → · Palette generator →

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