#5B71CD#5B71CD

#5B71CD is a mid, vivid blue. Relative luminance 0.184; OKLCH L 57.6% C 0.143 H 271.2°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#5B71CD
RGBrgb(91, 113, 205)
HSLhsl(228, 53%, 58%)
HSVhsv(228, 56%, 80%)
CMYKcmyk(55.6%, 44.9%, 0%, 19.6%)
CIE-LABlab(50.03, 18.80, -50.30)
CIE-LCHlch(50.03, 53.70, 290.49°)
OKLaboklab(57.61% 0.0029 -0.1432)
OKLCHoklch(57.61% 0.143 271.2)
XYZxyz(21.2353, 18.4406, 60.1862)
Luminance0.1844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B71CD #CDB75B
analogous
#5BAACD #5B71CD #7E5BCD
triadic
#5B71CD #CD5B71 #71CD5B
tetradic
#5B71CD #CD5BAA #CDB75B #5BCD7E
square
#5B71CD #CD5BAA #CDB75B #5BCD7E
split-complementary
#5B71CD #CD7E5B #AACD5B
monochromatic
#293A85 #374FB4 #5B71CD #8A9ADB #B9C2EA

Accessibility & contrast

On white

4.48
#5B71CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#5B71CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B71CD
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B71CD#FFFFFF#000000##000000
##5B71CD1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#487CD0
Deuteranopia (green-blind)
#3972CB
Tritanopia (blue-blind)
#198595
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5b71cd;
/* rgb */ color: rgb(91, 113, 205);
/* oklch */ color: oklch(57.6% 0.143 271.2);
Tailwind
colors: {
  custom: {
    50: '#9299dd',
    500: '#5b71cd',
    950: '#000000',
  },
}
SCSS
$custom: #5b71cd;
$custom-light: #9299dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5b71cd",
  "rgb": {
    "r": 91,
    "g": 113,
    "b": 205
  },
  "hsl": {
    "h": 228.421,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.57611,
    "c": 0.14324,
    "h": 271.2
  },
  "luminance": 0.18442
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B71CD

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

Preview Lab → · Contrast checker → · Palette generator →

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