#5C71F4#5C71F4

#5C71F4 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.3% C 0.196 H 272.3°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#5C71F4
RGBrgb(92, 113, 244)
HSLhsl(232, 87%, 66%)
HSVhsv(232, 62%, 96%)
CMYKcmyk(62.3%, 53.7%, 0%, 4.3%)
CIE-LABlab(52.53, 31.86, -68.25)
CIE-LCHlch(52.53, 75.32, 295.02°)
OKLaboklab(60.3% 0.0079 -0.196)
OKLCHoklch(60.3% 0.196 272.3)
XYZxyz(26.6424, 20.6149, 88.1455)
Luminance0.2062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C71F4 #F4DF5C
analogous
#5CBDF4 #5C71F4 #935CF4
triadic
#5C71F4 #F45C71 #71F45C
tetradic
#5C71F4 #F45CBD #F4DF5C #5CF493
square
#5C71F4 #F45CBD #F4DF5C #5CF493
split-complementary
#5C71F4 #F4935C #BDF45C
monochromatic
#0E27C8 #233FF0 #5C71F4 #95A3F8 #CFD5FC

Accessibility & contrast

On white

4.10
#5C71F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#5C71F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C71F4
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C71F4#FFFFFF#000000##000000
##5C71F41.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F84F9
Deuteranopia (green-blind)
#0077F1
Tritanopia (blue-blind)
#0090A8
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5c71f4;
/* rgb */ color: rgb(92, 113, 244);
/* oklch */ color: oklch(60.3% 0.196 272.3);
Tailwind
colors: {
  custom: {
    50: '#9899f9',
    500: '#5c71f4',
    950: '#000000',
  },
}
SCSS
$custom: #5c71f4;
$custom-light: #9899f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5c71f4",
  "rgb": {
    "r": 92,
    "g": 113,
    "b": 244
  },
  "hsl": {
    "h": 231.711,
    "s": 87.356,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60299,
    "c": 0.19614,
    "h": 272.3
  },
  "luminance": 0.20617
}

Semantic roles & 50–950 ramp

primary
#5C71F4
secondary
#EFE8BD
accent
#C502E4
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5C71F4

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

Preview Lab → · Contrast checker → · Palette generator →

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