#6171CE#6171CE

#6171CE is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.1% C 0.143 H 273.8°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#6171CE
RGBrgb(97, 113, 206)
HSLhsl(231, 53%, 59%)
HSVhsv(231, 53%, 81%)
CMYKcmyk(52.9%, 45.1%, 0%, 19.2%)
CIE-LABlab(50.46, 20.40, -50.16)
CIE-LCHlch(50.46, 54.15, 292.13°)
OKLaboklab(58.06% 0.0094 -0.1427)
OKLCHoklch(58.06% 0.143 273.8)
XYZxyz(21.9719, 18.8064, 60.8528)
Luminance0.1881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6171CE #CEBE61
analogous
#61A7CE #6171CE #8861CE
triadic
#6171CE #CE6171 #71CE61
tetradic
#6171CE #CE61A7 #CEBE61 #61CE88
square
#6171CE #CE61A7 #CEBE61 #61CE88
split-complementary
#6171CE #CE8861 #A7CE61
monochromatic
#2B398A #394CB9 #6171CE #909BDC #BEC5EB

Accessibility & contrast

On white

4.41
#6171CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#6171CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6171CE
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6171CE#FFFFFF#000000##000000
##6171CE1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#487DD1
Deuteranopia (green-blind)
#3C74CC
Tritanopia (blue-blind)
#2E8595
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6171ce;
/* rgb */ color: rgb(97, 113, 206);
/* oklch */ color: oklch(58.1% 0.143 273.8);
Tailwind
colors: {
  custom: {
    50: '#9599dd',
    500: '#6171ce',
    950: '#000000',
  },
}
SCSS
$custom: #6171ce;
$custom-light: #9599dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6171ce",
  "rgb": {
    "r": 97,
    "g": 113,
    "b": 206
  },
  "hsl": {
    "h": 231.193,
    "s": 52.657,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58058,
    "c": 0.14297,
    "h": 273.8
  },
  "luminance": 0.18808
}

Semantic roles & 50–950 ramp

primary
#6171CE
secondary
#DBD4B0
accent
#C74CDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #6171CE

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

Preview Lab → · Contrast checker → · Palette generator →

#6171CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva