#6171CD#6171CD

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

Color values

HEX#6171CD
RGBrgb(97, 113, 205)
HSLhsl(231, 52%, 59%)
HSVhsv(231, 53%, 80%)
CMYKcmyk(52.7%, 44.9%, 0%, 19.6%)
CIE-LABlab(50.40, 20.08, -49.68)
CIE-LCHlch(50.40, 53.58, 292.01°)
OKLaboklab(58% 0.0093 -0.1412)
OKLCHoklch(58% 0.142 273.8)
XYZxyz(21.8508, 18.7580, 60.2150)
Luminance0.1876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6171CD #CDBD61
analogous
#61A7CD #6171CD #8761CD
triadic
#6171CD #CD6171 #71CD61
tetradic
#6171CD #CD61A7 #CDBD61 #61CD87
square
#6171CD #CD61A7 #CDBD61 #61CD87
split-complementary
#6171CD #CD8761 #A7CD61
monochromatic
#2B3988 #3A4CB7 #6171CD #8F9BDC #BEC5EA

Accessibility & contrast

On white

4.42
#6171CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#6171CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6171CD
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6171CD#FFFFFF#000000##000000
##6171CD1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#497DD0
Deuteranopia (green-blind)
#3D74CB
Tritanopia (blue-blind)
#2F8595
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6171cd;
/* rgb */ color: rgb(97, 113, 205);
/* oklch */ color: oklch(58.0% 0.142 273.8);
Tailwind
colors: {
  custom: {
    50: '#9599dd',
    500: '#6171cd',
    950: '#000000',
  },
}
SCSS
$custom: #6171cd;
$custom-light: #9599dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6171cd",
  "rgb": {
    "r": 97,
    "g": 113,
    "b": 205
  },
  "hsl": {
    "h": 231.111,
    "s": 51.923,
    "l": 59.216
  },
  "oklch": {
    "l": 0.57996,
    "c": 0.14155,
    "h": 273.8
  },
  "luminance": 0.18759
}

Semantic roles & 50–950 ramp

primary
#6171CD
secondary
#DAD4B0
accent
#C64CDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #6171CD

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

Preview Lab → · Contrast checker → · Palette generator →

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