#5B70CD#5B70CD

#5B70CD is a mid, vivid blue. Relative luminance 0.182; OKLCH L 57.4% C 0.145 H 271.6°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#5B70CD
RGBrgb(91, 112, 205)
HSLhsl(229, 53%, 58%)
HSVhsv(229, 56%, 80%)
CMYKcmyk(55.6%, 45.4%, 0%, 19.6%)
CIE-LABlab(49.76, 19.42, -50.72)
CIE-LCHlch(49.76, 54.31, 290.95°)
OKLaboklab(57.41% 0.004 -0.1445)
OKLCHoklch(57.41% 0.145 271.6)
XYZxyz(21.1244, 18.2187, 60.1492)
Luminance0.1822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B70CD #CDB85B
analogous
#5BA9CD #5B70CD #7F5BCD
triadic
#5B70CD #CD5B70 #70CD5B
tetradic
#5B70CD #CD5BA9 #CDB85B #5BCD7F
square
#5B70CD #CD5BA9 #CDB85B #5BCD7F
split-complementary
#5B70CD #CD7F5B #A9CD5B
monochromatic
#293A85 #374EB4 #5B70CD #8A99DB #B9C2EA

Accessibility & contrast

On white

4.52
#5B70CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#5B70CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B70CD
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B70CD#FFFFFF#000000##000000
##5B70CD1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#467CD0
Deuteranopia (green-blind)
#3772CB
Tritanopia (blue-blind)
#198594
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5b70cd;
/* rgb */ color: rgb(91, 112, 205);
/* oklch */ color: oklch(57.4% 0.145 271.6);
Tailwind
colors: {
  custom: {
    50: '#9298dd',
    500: '#5b70cd',
    950: '#000000',
  },
}
SCSS
$custom: #5b70cd;
$custom-light: #9298dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5b70cd",
  "rgb": {
    "r": 91,
    "g": 112,
    "b": 205
  },
  "hsl": {
    "h": 228.947,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.57408,
    "c": 0.14453,
    "h": 271.6
  },
  "luminance": 0.1822
}

Semantic roles & 50–950 ramp

primary
#5B70CD
secondary
#D9D0AB
accent
#C24BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #5B70CD

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

Preview Lab → · Contrast checker → · Palette generator →

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