#5C71EA#5C71EA

#5C71EA is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.6% C 0.183 H 272.3°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#5C71EA
RGBrgb(92, 113, 234)
HSLhsl(231, 77%, 64%)
HSVhsv(231, 61%, 92%)
CMYKcmyk(60.7%, 51.7%, 0%, 8.2%)
CIE-LABlab(51.86, 28.54, -63.74)
CIE-LCHlch(51.86, 69.84, 294.12°)
OKLaboklab(59.59% 0.0072 -0.1827)
OKLCHoklch(59.59% 0.183 272.3)
XYZxyz(25.1651, 20.0240, 80.3648)
Luminance0.2003 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C71EA #EAD55C
analogous
#5CB8EA #5C71EA #8E5CEA
triadic
#5C71EA #EA5C71 #71EA5C
tetradic
#5C71EA #EA5CB8 #EAD55C #5CEA8E
square
#5C71EA #EA5CB8 #EAD55C #5CEA8E
split-complementary
#5C71EA #EA8E5C #B8EA5C
monochromatic
#172EB4 #2642E3 #5C71EA #92A0F1 #C8CFF8

Accessibility & contrast

On white

4.20
#5C71EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#5C71EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C71EA
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C71EA#FFFFFF#000000##000000
##5C71EA1.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2882EE
Deuteranopia (green-blind)
#0076E7
Tritanopia (blue-blind)
#008DA3
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5c71ea;
/* rgb */ color: rgb(92, 113, 234);
/* oklch */ color: oklch(59.6% 0.183 272.3);
Tailwind
colors: {
  custom: {
    50: '#9799f1',
    500: '#5c71ea',
    950: '#000000',
  },
}
SCSS
$custom: #5c71ea;
$custom-light: #9799f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c71ea",
  "rgb": {
    "r": 92,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 231.127,
    "s": 77.174,
    "l": 63.922
  },
  "oklch": {
    "l": 0.59592,
    "c": 0.18284,
    "h": 272.3
  },
  "luminance": 0.20026
}

Semantic roles & 50–950 ramp

primary
#5C71EA
secondary
#EAE2B8
accent
#BB0CD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5C71EA

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

Preview Lab → · Contrast checker → · Palette generator →

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