#5C71FC#5C71FC

#5C71FC is a mid, highly saturated blue. Relative luminance 0.211; OKLCH L 60.9% C 0.207 H 272.3°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#5C71FC
RGBrgb(92, 113, 252)
HSLhsl(232, 96%, 67%)
HSVhsv(232, 63%, 99%)
CMYKcmyk(63.5%, 55.2%, 0%, 1.2%)
CIE-LABlab(53.07, 34.51, -71.81)
CIE-LCHlch(53.07, 79.67, 295.67°)
OKLaboklab(60.88% 0.0082 -0.2064)
OKLCHoklch(60.88% 0.207 272.3)
XYZxyz(27.8836, 21.1114, 94.6821)
Luminance0.2111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C71FC #FCE75C
analogous
#5CC1FC #5C71FC #975CFC
triadic
#5C71FC #FC5C71 #71FC5C
tetradic
#5C71FC #FC5CC1 #FCE75C #5CFC97
square
#5C71FC #FC5CC1 #FCE75C #5CFC97
split-complementary
#5C71FC #FC975C #C1FC5C
monochromatic
#0420DA #203DFB #5C71FC #98A5FD #D4DAFE

Accessibility & contrast

On white

4.02
#5C71FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#5C71FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C71FC
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C71FC#FFFFFF#000000##000000
##5C71FC1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#0078F9
Tritanopia (blue-blind)
#0092AC
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5c71fc;
/* rgb */ color: rgb(92, 113, 252);
/* oklch */ color: oklch(60.9% 0.207 272.3);
Tailwind
colors: {
  custom: {
    50: '#9a99fe',
    500: '#5c71fc',
    950: '#000000',
  },
}
SCSS
$custom: #5c71fc;
$custom-light: #9a99fe;
$custom-dark: #000000;
JSON
{
  "hex": "#5c71fc",
  "rgb": {
    "r": 92,
    "g": 113,
    "b": 252
  },
  "hsl": {
    "h": 232.125,
    "s": 96.386,
    "l": 67.451
  },
  "oklch": {
    "l": 0.60881,
    "c": 0.2066,
    "h": 272.3
  },
  "luminance": 0.21114
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C71FC

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

Preview Lab → · Contrast checker → · Palette generator →

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