#5C71F8#5C71F8

#5C71F8 is a mid, highly saturated blue. Relative luminance 0.209; OKLCH L 60.6% C 0.201 H 272.3°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5C71F8
RGBrgb(92, 113, 248)
HSLhsl(232, 92%, 67%)
HSVhsv(232, 63%, 97%)
CMYKcmyk(62.9%, 54.4%, 0%, 2.7%)
CIE-LABlab(52.80, 33.18, -70.04)
CIE-LCHlch(52.80, 77.50, 295.35°)
OKLaboklab(60.59% 0.008 -0.2012)
OKLCHoklch(60.59% 0.201 272.3)
XYZxyz(27.2564, 20.8605, 91.3789)
Luminance0.2086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C71F8 #F8E35C
analogous
#5CBFF8 #5C71F8 #955CF8
triadic
#5C71F8 #F85C71 #71F85C
tetradic
#5C71F8 #F85CBF #F8E35C #5CF895
square
#5C71F8 #F85CBF #F8E35C #5CF895
split-complementary
#5C71F8 #F8955C #BFF85C
monochromatic
#0924D1 #213EF5 #5C71F8 #97A4FB #D1D7FD

Accessibility & contrast

On white

4.06
#5C71F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#5C71F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C71F8
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C71F8#FFFFFF#000000##000000
##5C71F81.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FD
Deuteranopia (green-blind)
#0077F5
Tritanopia (blue-blind)
#0091AA
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5c71f8;
/* rgb */ color: rgb(92, 113, 248);
/* oklch */ color: oklch(60.6% 0.201 272.3);
Tailwind
colors: {
  custom: {
    50: '#9999fb',
    500: '#5c71f8',
    950: '#000000',
  },
}
SCSS
$custom: #5c71f8;
$custom-light: #9999fb;
$custom-dark: #000000;
JSON
{
  "hex": "#5c71f8",
  "rgb": {
    "r": 92,
    "g": 113,
    "b": 248
  },
  "hsl": {
    "h": 231.923,
    "s": 91.765,
    "l": 66.667
  },
  "oklch": {
    "l": 0.60588,
    "c": 0.20139,
    "h": 272.3
  },
  "luminance": 0.20863
}

Semantic roles & 50–950 ramp

primary
#5C71F8
secondary
#F1EABF
accent
#C700E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E18
muted
#7F7E86

Preview Lab

Preview with #5C71F8

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

Preview Lab → · Contrast checker → · Palette generator →

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