#5B70DB#5B70DB

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

Color values

HEX#5B70DB
RGBrgb(91, 112, 219)
HSLhsl(230, 64%, 61%)
HSVhsv(230, 58%, 86%)
CMYKcmyk(58.4%, 48.9%, 0%, 14.1%)
CIE-LABlab(50.60, 24.02, -57.33)
CIE-LCHlch(50.60, 62.16, 292.73°)
OKLaboklab(58.32% 0.0058 -0.1639)
OKLCHoklch(58.32% 0.164 272)
XYZxyz(22.8905, 18.9252, 69.4508)
Luminance0.1893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B70DB #DBC65B
analogous
#5BB0DB #5B70DB #865BDB
triadic
#5B70DB #DB5B70 #70DB5B
tetradic
#5B70DB #DB5BB0 #DBC65B #5BDB86
square
#5B70DB #DB5BB0 #DBC65B #5BDB86
split-complementary
#5B70DB #DB865B #B0DB5B
monochromatic
#22359A #2D47CC #5B70DB #8D9CE6 #BFC8F1

Accessibility & contrast

On white

4.39
#5B70DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#5B70DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B70DB
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B70DB#FFFFFF#000000##000000
##5B70DB1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b70db;
/* rgb */ color: rgb(91, 112, 219);
/* oklch */ color: oklch(58.3% 0.164 272.0);
Tailwind
colors: {
  custom: {
    50: '#9498e7',
    500: '#5b70db',
    950: '#000000',
  },
}
SCSS
$custom: #5b70db;
$custom-light: #9498e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b70db",
  "rgb": {
    "r": 91,
    "g": 112,
    "b": 219
  },
  "hsl": {
    "h": 230.156,
    "s": 64,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58316,
    "c": 0.16399,
    "h": 272
  },
  "luminance": 0.18927
}

Semantic roles & 50–950 ramp

primary
#5B70DB
secondary
#E1D9B1
accent
#AF1ACC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5B70DB

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

Preview Lab → · Contrast checker → · Palette generator →

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