#5B71DD#5B71DD

#5B71DD is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.6% C 0.165 H 271.7°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#5B71DD
RGBrgb(91, 113, 221)
HSLhsl(230, 66%, 61%)
HSVhsv(230, 59%, 87%)
CMYKcmyk(58.8%, 48.9%, 0%, 13.3%)
CIE-LABlab(50.98, 24.06, -57.85)
CIE-LCHlch(50.98, 62.65, 292.58°)
OKLaboklab(58.65% 0.005 -0.1654)
OKLCHoklch(58.65% 0.165 271.7)
XYZxyz(23.2663, 19.2530, 70.8827)
Luminance0.1925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B71DD #DDC75B
analogous
#5BB2DD #5B71DD #865BDD
triadic
#5B71DD #DD5B71 #71DD5B
tetradic
#5B71DD #DD5BB2 #DDC75B #5BDD86
square
#5B71DD #DD5BB2 #DDC75B #5BDD86
split-complementary
#5B71DD #DD865B #B2DD5B
monochromatic
#21369D #2B47D0 #5B71DD #8E9DE8 #C0C9F2

Accessibility & contrast

On white

4.33
#5B71DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#5B71DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B71DD
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B71DD#FFFFFF#000000##000000
##5B71DD1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7FE1
Deuteranopia (green-blind)
#2274DB
Tritanopia (blue-blind)
#008A9C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5b71dd;
/* rgb */ color: rgb(91, 113, 221);
/* oklch */ color: oklch(58.6% 0.165 271.7);
Tailwind
colors: {
  custom: {
    50: '#9499e8',
    500: '#5b71dd',
    950: '#000000',
  },
}
SCSS
$custom: #5b71dd;
$custom-light: #9499e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b71dd",
  "rgb": {
    "r": 91,
    "g": 113,
    "b": 221
  },
  "hsl": {
    "h": 229.846,
    "s": 65.657,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58646,
    "c": 0.16548,
    "h": 271.7
  },
  "luminance": 0.19255
}

Semantic roles & 50–950 ramp

primary
#5B71DD
secondary
#E2DAB1
accent
#AF18CE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5B71DD

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

Preview Lab → · Contrast checker → · Palette generator →

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