#5B71ED#5B71ED

#5B71ED is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.7% C 0.187 H 272.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5B71ED
RGBrgb(91, 113, 237)
HSLhsl(231, 80%, 64%)
HSVhsv(231, 62%, 93%)
CMYKcmyk(61.6%, 52.3%, 0%, 7.1%)
CIE-LABlab(52.00, 29.37, -65.20)
CIE-LCHlch(52.00, 71.50, 294.25°)
OKLaboklab(59.74% 0.0064 -0.187)
OKLCHoklch(59.74% 0.187 272)
XYZxyz(25.5005, 20.1467, 82.6492)
Luminance0.2015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B71ED #EDD75B
analogous
#5BBAED #5B71ED #8E5BED
triadic
#5B71ED #ED5B71 #71ED5B
tetradic
#5B71ED #ED5BBA #EDD75B #5BED8E
square
#5B71ED #ED5BBA #EDD75B #5BED8E
split-complementary
#5B71ED #ED8E5B #BAED5B
monochromatic
#142DB9 #2441E7 #5B71ED #92A1F3 #C9D0F9

Accessibility & contrast

On white

4.18
#5B71ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#5B71ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B71ED
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B71ED#FFFFFF#000000##000000
##5B71ED1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2283F1
Deuteranopia (green-blind)
#0076EA
Tritanopia (blue-blind)
#008EA4
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5b71ed;
/* rgb */ color: rgb(91, 113, 237);
/* oklch */ color: oklch(59.7% 0.187 272.0);
Tailwind
colors: {
  custom: {
    50: '#9799f4',
    500: '#5b71ed',
    950: '#000000',
  },
}
SCSS
$custom: #5b71ed;
$custom-light: #9799f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5b71ed",
  "rgb": {
    "r": 91,
    "g": 113,
    "b": 237
  },
  "hsl": {
    "h": 230.959,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59743,
    "c": 0.18712,
    "h": 272
  },
  "luminance": 0.20149
}

Semantic roles & 50–950 ramp

primary
#5B71ED
secondary
#EBE4B9
accent
#BD09DD
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5B71ED

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

Preview Lab → · Contrast checker → · Palette generator →

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