#5B70CF#5B70CF

#5B70CF is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.5% C 0.147 H 271.7°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#5B70CF
RGBrgb(91, 112, 207)
HSLhsl(229, 55%, 58%)
HSVhsv(229, 56%, 81%)
CMYKcmyk(56%, 45.9%, 0%, 18.8%)
CIE-LABlab(49.88, 20.07, -51.68)
CIE-LCHlch(49.88, 55.44, 291.22°)
OKLaboklab(57.53% 0.0043 -0.1473)
OKLCHoklch(57.53% 0.147 271.7)
XYZxyz(21.3673, 18.3159, 61.4287)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B70CF #CFBA5B
analogous
#5BAACF #5B70CF #805BCF
triadic
#5B70CF #CF5B70 #70CF5B
tetradic
#5B70CF #CF5BAA #CFBA5B #5BCF80
square
#5B70CF #CF5BAA #CFBA5B #5BCF80
split-complementary
#5B70CF #CF805B #AACF5B
monochromatic
#283988 #364DB7 #5B70CF #8A99DD #BAC3EB

Accessibility & contrast

On white

4.50
#5B70CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#5B70CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B70CF
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B70CF#FFFFFF#000000##000000
##5B70CF1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#447CD3
Deuteranopia (green-blind)
#3572CD
Tritanopia (blue-blind)
#158595
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5b70cf;
/* rgb */ color: rgb(91, 112, 207);
/* oklch */ color: oklch(57.5% 0.147 271.7);
Tailwind
colors: {
  custom: {
    50: '#9298de',
    500: '#5b70cf',
    950: '#000000',
  },
}
SCSS
$custom: #5b70cf;
$custom-light: #9298de;
$custom-dark: #000000;
JSON
{
  "hex": "#5b70cf",
  "rgb": {
    "r": 91,
    "g": 112,
    "b": 207
  },
  "hsl": {
    "h": 229.138,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.57534,
    "c": 0.14733,
    "h": 271.7
  },
  "luminance": 0.18317
}

Semantic roles & 50–950 ramp

primary
#5B70CF
secondary
#DAD2AC
accent
#C34ADE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #5B70CF

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

Preview Lab → · Contrast checker → · Palette generator →

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