#5B70DA#5B70DA

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

Color values

HEX#5B70DA
RGBrgb(91, 112, 218)
HSLhsl(230, 63%, 61%)
HSVhsv(230, 58%, 85%)
CMYKcmyk(58.3%, 48.6%, 0%, 14.5%)
CIE-LABlab(50.54, 23.69, -56.87)
CIE-LCHlch(50.54, 61.60, 292.61°)
OKLaboklab(58.25% 0.0057 -0.1625)
OKLCHoklch(58.25% 0.163 272)
XYZxyz(22.7593, 18.8727, 68.7595)
Luminance0.1887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B70DA #DAC55B
analogous
#5BAFDA #5B70DA #855BDA
triadic
#5B70DA #DA5B70 #70DA5B
tetradic
#5B70DA #DA5BAF #DAC55B #5BDA85
square
#5B70DA #DA5BAF #DAC55B #5BDA85
split-complementary
#5B70DA #DA855B #AFDA5B
monochromatic
#223698 #2E48CA #5B70DA #8D9CE5 #BFC7F1

Accessibility & contrast

On white

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

On black

4.77
#5B70DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B70DA
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B70DA#FFFFFF#000000##000000
##5B70DA1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7EDE
Deuteranopia (green-blind)
#2473D8
Tritanopia (blue-blind)
#00889B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5b70da;
/* rgb */ color: rgb(91, 112, 218);
/* oklch */ color: oklch(58.3% 0.163 272.0);
Tailwind
colors: {
  custom: {
    50: '#9498e6',
    500: '#5b70da',
    950: '#000000',
  },
}
SCSS
$custom: #5b70da;
$custom-light: #9498e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5b70da",
  "rgb": {
    "r": 91,
    "g": 112,
    "b": 218
  },
  "hsl": {
    "h": 230.079,
    "s": 63.184,
    "l": 60.588
  },
  "oklch": {
    "l": 0.5825,
    "c": 0.16262,
    "h": 272
  },
  "luminance": 0.18874
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B70DA

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

Preview Lab → · Contrast checker → · Palette generator →

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