#5C71F0#5C71F0

#5C71F0 is a mid, vivid blue. Relative luminance 0.204; OKLCH L 60.0% C 0.191 H 272.3°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#5C71F0
RGBrgb(92, 113, 240)
HSLhsl(231, 83%, 65%)
HSVhsv(231, 62%, 94%)
CMYKcmyk(61.7%, 52.9%, 0%, 5.9%)
CIE-LABlab(52.26, 30.53, -66.45)
CIE-LCHlch(52.26, 73.13, 294.68°)
OKLaboklab(60.01% 0.0076 -0.1907)
OKLCHoklch(60.01% 0.191 272.3)
XYZxyz(26.0417, 20.3746, 84.9815)
Luminance0.2038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C71F0 #F0DB5C
analogous
#5CBBF0 #5C71F0 #915CF0
triadic
#5C71F0 #F05C71 #71F05C
tetradic
#5C71F0 #F05CBB #F0DB5C #5CF091
square
#5C71F0 #F05CBB #F0DB5C #5CF091
split-complementary
#5C71F0 #F0915C #BBF05C
monochromatic
#122AC0 #2440EB #5C71F0 #94A2F5 #CCD3FA

Accessibility & contrast

On white

4.14
#5C71F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#5C71F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C71F0
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C71F0#FFFFFF#000000##000000
##5C71F01.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C83F4
Deuteranopia (green-blind)
#0076ED
Tritanopia (blue-blind)
#008FA6
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5c71f0;
/* rgb */ color: rgb(92, 113, 240);
/* oklch */ color: oklch(60.0% 0.191 272.3);
Tailwind
colors: {
  custom: {
    50: '#9799f6',
    500: '#5c71f0',
    950: '#000000',
  },
}
SCSS
$custom: #5c71f0;
$custom-light: #9799f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5c71f0",
  "rgb": {
    "r": 92,
    "g": 113,
    "b": 240
  },
  "hsl": {
    "h": 231.486,
    "s": 83.146,
    "l": 65.098
  },
  "oklch": {
    "l": 0.60013,
    "c": 0.19084,
    "h": 272.3
  },
  "luminance": 0.20377
}

Semantic roles & 50–950 ramp

primary
#5C71F0
secondary
#EDE6BB
accent
#C106E0
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5C71F0

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

Preview Lab → · Contrast checker → · Palette generator →

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