#5C71E8#5C71E8

#5C71E8 is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.5% C 0.180 H 272.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#5C71E8
RGBrgb(92, 113, 232)
HSLhsl(231, 75%, 64%)
HSVhsv(231, 60%, 91%)
CMYKcmyk(60.3%, 51.3%, 0%, 9%)
CIE-LABlab(51.73, 27.88, -62.83)
CIE-LCHlch(51.73, 68.73, 293.93°)
OKLaboklab(59.45% 0.0071 -0.18)
OKLCHoklch(59.45% 0.18 272.3)
XYZxyz(24.8794, 19.9097, 78.8602)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C71E8 #E8D35C
analogous
#5CB7E8 #5C71E8 #8D5CE8
triadic
#5C71E8 #E85C71 #71E85C
tetradic
#5C71E8 #E85CB7 #E8D35C #5CE88D
square
#5C71E8 #E85CB7 #E8D35C #5CE88D
split-complementary
#5C71E8 #E88D5C #B7E85C
monochromatic
#1930B1 #2642E0 #5C71E8 #92A0F0 #C7CEF7

Accessibility & contrast

On white

4.21
#5C71E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#5C71E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C71E8
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C71E8#FFFFFF#000000##000000
##5C71E81.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C82EC
Deuteranopia (green-blind)
#0075E6
Tritanopia (blue-blind)
#008DA2
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5c71e8;
/* rgb */ color: rgb(92, 113, 232);
/* oklch */ color: oklch(59.5% 0.180 272.3);
Tailwind
colors: {
  custom: {
    50: '#9699f0',
    500: '#5c71e8',
    950: '#000000',
  },
}
SCSS
$custom: #5c71e8;
$custom-light: #9699f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5c71e8",
  "rgb": {
    "r": 92,
    "g": 113,
    "b": 232
  },
  "hsl": {
    "h": 231,
    "s": 75.269,
    "l": 63.529
  },
  "oklch": {
    "l": 0.59453,
    "c": 0.18015,
    "h": 272.3
  },
  "luminance": 0.19912
}

Semantic roles & 50–950 ramp

primary
#5C71E8
secondary
#E9E1B7
accent
#B90ED7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5C71E8

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

Preview Lab → · Contrast checker → · Palette generator →

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