#5C71DA#5C71DA

#5C71DA is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.5% C 0.161 H 272.0°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#5C71DA
RGBrgb(92, 113, 218)
HSLhsl(230, 63%, 61%)
HSVhsv(230, 58%, 85%)
CMYKcmyk(57.8%, 48.2%, 0%, 14.5%)
CIE-LABlab(50.86, 23.26, -56.35)
CIE-LCHlch(50.86, 60.96, 292.43°)
OKLaboklab(58.51% 0.0057 -0.161)
OKLCHoklch(58.51% 0.161 272)
XYZxyz(22.9695, 19.1458, 68.8012)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C71DA #DAC55C
analogous
#5CB0DA #5C71DA #865CDA
triadic
#5C71DA #DA5C71 #71DA5C
tetradic
#5C71DA #DA5CB0 #DAC55C #5CDA86
square
#5C71DA #DA5CB0 #DAC55C #5CDA86
split-complementary
#5C71DA #DA865C #B0DA5C
monochromatic
#233699 #2E48CB #5C71DA #8E9CE5 #C0C8F1

Accessibility & contrast

On white

4.35
#5C71DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#5C71DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C71DA
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C71DA#FFFFFF#000000##000000
##5C71DA1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7FDE
Deuteranopia (green-blind)
#2874D8
Tritanopia (blue-blind)
#00899B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5c71da;
/* rgb */ color: rgb(92, 113, 218);
/* oklch */ color: oklch(58.5% 0.161 272.0);
Tailwind
colors: {
  custom: {
    50: '#9499e6',
    500: '#5c71da',
    950: '#000000',
  },
}
SCSS
$custom: #5c71da;
$custom-light: #9499e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5c71da",
  "rgb": {
    "r": 92,
    "g": 113,
    "b": 218
  },
  "hsl": {
    "h": 230,
    "s": 63,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58508,
    "c": 0.16107,
    "h": 272
  },
  "luminance": 0.19148
}

Semantic roles & 50–950 ramp

primary
#5C71DA
secondary
#E1D9B1
accent
#AD1BCB
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5C71DA

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

Preview Lab → · Contrast checker → · Palette generator →

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