#5B71DB#5B71DB

#5B71DB is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.5% C 0.163 H 271.7°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#5B71DB
RGBrgb(91, 113, 219)
HSLhsl(230, 64%, 61%)
HSVhsv(230, 58%, 86%)
CMYKcmyk(58.4%, 48.4%, 0%, 14.1%)
CIE-LABlab(50.86, 23.40, -56.92)
CIE-LCHlch(50.86, 61.54, 292.35°)
OKLaboklab(58.51% 0.0048 -0.1627)
OKLCHoklch(58.51% 0.163 271.7)
XYZxyz(23.0015, 19.1471, 69.4877)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B71DB #DBC55B
analogous
#5BB1DB #5B71DB #855BDB
triadic
#5B71DB #DB5B71 #71DB5B
tetradic
#5B71DB #DB5BB1 #DBC55B #5BDB85
square
#5B71DB #DB5BB1 #DBC55B #5BDB85
split-complementary
#5B71DB #DB855B #B1DB5B
monochromatic
#22369A #2D48CC #5B71DB #8D9CE6 #BFC8F1

Accessibility & contrast

On white

4.35
#5B71DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#5B71DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B71DB
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B71DB#FFFFFF#000000##000000
##5B71DB1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7FDF
Deuteranopia (green-blind)
#2674D9
Tritanopia (blue-blind)
#00899B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5b71db;
/* rgb */ color: rgb(91, 113, 219);
/* oklch */ color: oklch(58.5% 0.163 271.7);
Tailwind
colors: {
  custom: {
    50: '#9499e7',
    500: '#5b71db',
    950: '#000000',
  },
}
SCSS
$custom: #5b71db;
$custom-light: #9499e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b71db",
  "rgb": {
    "r": 91,
    "g": 113,
    "b": 219
  },
  "hsl": {
    "h": 229.688,
    "s": 64,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58513,
    "c": 0.16273,
    "h": 271.7
  },
  "luminance": 0.19149
}

Semantic roles & 50–950 ramp

primary
#5B71DB
secondary
#E1D9B1
accent
#AD1ACC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5B71DB

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

Preview Lab → · Contrast checker → · Palette generator →

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