#5C71CA#5C71CA

#5C71CA is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.5% C 0.139 H 271.4°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#5C71CA
RGBrgb(92, 113, 202)
HSLhsl(229, 51%, 58%)
HSVhsv(229, 54%, 79%)
CMYKcmyk(54.5%, 44.1%, 0%, 20.8%)
CIE-LABlab(49.92, 18.04, -48.76)
CIE-LCHlch(49.92, 51.99, 290.30°)
OKLaboklab(57.49% 0.0035 -0.1387)
OKLCHoklch(57.49% 0.139 271.4)
XYZxyz(20.9759, 18.3483, 58.3019)
Luminance0.1835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C71CA #CAB55C
analogous
#5CA8CA #5C71CA #7E5CCA
triadic
#5C71CA #CA5C71 #71CA5C
tetradic
#5C71CA #CA5CA8 #CAB55C #5CCA7E
square
#5C71CA #CA5CA8 #CAB55C #5CCA7E
split-complementary
#5C71CA #CA7E5C #A8CA5C
monochromatic
#2A3B81 #3950B0 #5C71CA #8A99D9 #B8C1E8

Accessibility & contrast

On white

4.50
#5C71CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#5C71CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C71CA
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C71CA#FFFFFF#000000##000000
##5C71CA1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7CCD
Deuteranopia (green-blind)
#3D72C8
Tritanopia (blue-blind)
#228494
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5c71ca;
/* rgb */ color: rgb(92, 113, 202);
/* oklch */ color: oklch(57.5% 0.139 271.4);
Tailwind
colors: {
  custom: {
    50: '#9299da',
    500: '#5c71ca',
    950: '#000000',
  },
}
SCSS
$custom: #5c71ca;
$custom-light: #9299da;
$custom-dark: #000000;
JSON
{
  "hex": "#5c71ca",
  "rgb": {
    "r": 92,
    "g": 113,
    "b": 202
  },
  "hsl": {
    "h": 228.545,
    "s": 50.926,
    "l": 57.647
  },
  "oklch": {
    "l": 0.57487,
    "c": 0.13871,
    "h": 271.4
  },
  "luminance": 0.1835
}

Semantic roles & 50–950 ramp

primary
#5C71CA
secondary
#D7CFAB
accent
#BF4DDA
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #5C71CA

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

Preview Lab → · Contrast checker → · Palette generator →

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