#5C71EB#5C71EB

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

Color values

HEX#5C71EB
RGBrgb(92, 113, 235)
HSLhsl(231, 78%, 64%)
HSVhsv(231, 61%, 92%)
CMYKcmyk(60.9%, 51.9%, 0%, 7.8%)
CIE-LABlab(51.93, 28.88, -64.19)
CIE-LCHlch(51.93, 70.39, 294.22°)
OKLaboklab(59.66% 0.0073 -0.184)
OKLCHoklch(59.66% 0.184 272.3)
XYZxyz(25.3092, 20.0816, 81.1236)
Luminance0.2008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C71EB #EBD65C
analogous
#5CB9EB #5C71EB #8F5CEB
triadic
#5C71EB #EB5C71 #71EB5C
tetradic
#5C71EB #EB5CB9 #EBD65C #5CEB8F
square
#5C71EB #EB5CB9 #EBD65C #5CEB8F
split-complementary
#5C71EB #EB8F5C #B9EB5C
monochromatic
#162EB6 #2542E4 #5C71EB #93A0F2 #C9D0F8

Accessibility & contrast

On white

4.19
#5C71EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#5C71EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C71EB
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C71EB#FFFFFF#000000##000000
##5C71EB1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2782EF
Deuteranopia (green-blind)
#0076E8
Tritanopia (blue-blind)
#008DA3
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5c71eb;
/* rgb */ color: rgb(92, 113, 235);
/* oklch */ color: oklch(59.7% 0.184 272.3);
Tailwind
colors: {
  custom: {
    50: '#9799f2',
    500: '#5c71eb',
    950: '#000000',
  },
}
SCSS
$custom: #5c71eb;
$custom-light: #9799f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c71eb",
  "rgb": {
    "r": 92,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 231.189,
    "s": 78.142,
    "l": 64.118
  },
  "oklch": {
    "l": 0.59661,
    "c": 0.18418,
    "h": 272.3
  },
  "luminance": 0.20084
}

Semantic roles & 50–950 ramp

primary
#5C71EB
secondary
#EAE3B8
accent
#BC0BDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5C71EB

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

Preview Lab → · Contrast checker → · Palette generator →

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