#5C71EE#5C71EE

#5C71EE is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.9% C 0.188 H 272.3°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#5C71EE
RGBrgb(92, 113, 238)
HSLhsl(231, 81%, 65%)
HSVhsv(231, 61%, 93%)
CMYKcmyk(61.3%, 52.5%, 0%, 6.7%)
CIE-LABlab(52.13, 29.87, -65.55)
CIE-LCHlch(52.13, 72.04, 294.50°)
OKLaboklab(59.87% 0.0075 -0.188)
OKLCHoklch(59.87% 0.188 272.3)
XYZxyz(25.7462, 20.2565, 83.4255)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C71EE #EED95C
analogous
#5CBAEE #5C71EE #905CEE
triadic
#5C71EE #EE5C71 #71EE5C
tetradic
#5C71EE #EE5CBA #EED95C #5CEE90
square
#5C71EE #EE5CBA #EED95C #5CEE90
split-complementary
#5C71EE #EE905C #BAEE5C
monochromatic
#142CBC #2541E8 #5C71EE #93A1F4 #CBD2FA

Accessibility & contrast

On white

4.16
#5C71EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#5C71EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C71EE
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C71EE#FFFFFF#000000##000000
##5C71EE1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2183F2
Deuteranopia (green-blind)
#0076EB
Tritanopia (blue-blind)
#008EA5
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5c71ee;
/* rgb */ color: rgb(92, 113, 238);
/* oklch */ color: oklch(59.9% 0.188 272.3);
Tailwind
colors: {
  custom: {
    50: '#9799f4',
    500: '#5c71ee',
    950: '#000000',
  },
}
SCSS
$custom: #5c71ee;
$custom-light: #9799f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c71ee",
  "rgb": {
    "r": 92,
    "g": 113,
    "b": 238
  },
  "hsl": {
    "h": 231.37,
    "s": 81.111,
    "l": 64.706
  },
  "oklch": {
    "l": 0.59872,
    "c": 0.18819,
    "h": 272.3
  },
  "luminance": 0.20259
}

Semantic roles & 50–950 ramp

primary
#5C71EE
secondary
#ECE5BA
accent
#BF08DD
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5C71EE

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

Preview Lab → · Contrast checker → · Palette generator →

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