#6171CC#6171CC

#6171CC is a mid, vivid blue. Relative luminance 0.187; OKLCH L 57.9% C 0.140 H 273.7°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#6171CC
RGBrgb(97, 113, 204)
HSLhsl(231, 51%, 59%)
HSVhsv(231, 52%, 80%)
CMYKcmyk(52.5%, 44.6%, 0%, 20%)
CIE-LABlab(50.35, 19.76, -49.20)
CIE-LCHlch(50.35, 53.02, 291.89°)
OKLaboklab(57.93% 0.0091 -0.1398)
OKLCHoklch(57.93% 0.14 273.7)
XYZxyz(21.7305, 18.7098, 59.5813)
Luminance0.1871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6171CC #CCBC61
analogous
#61A7CC #6171CC #8761CC
triadic
#6171CC #CC6171 #71CC61
tetradic
#6171CC #CC61A7 #CCBC61 #61CC87
square
#6171CC #CC61A7 #CCBC61 #61CC87
split-complementary
#6171CC #CC8761 #A7CC61
monochromatic
#2C3987 #3B4DB5 #6171CC #8F9BDB #BEC4EA

Accessibility & contrast

On white

4.43
#6171CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#6171CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6171CC
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6171CC#FFFFFF#000000##000000
##6171CC1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7DCF
Deuteranopia (green-blind)
#3E74CA
Tritanopia (blue-blind)
#308594
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6171cc;
/* rgb */ color: rgb(97, 113, 204);
/* oklch */ color: oklch(57.9% 0.140 273.7);
Tailwind
colors: {
  custom: {
    50: '#9599dc',
    500: '#6171cc',
    950: '#000000',
  },
}
SCSS
$custom: #6171cc;
$custom-light: #9599dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6171cc",
  "rgb": {
    "r": 97,
    "g": 113,
    "b": 204
  },
  "hsl": {
    "h": 231.028,
    "s": 51.196,
    "l": 59.02
  },
  "oklch": {
    "l": 0.57934,
    "c": 0.14014,
    "h": 273.7
  },
  "luminance": 0.18711
}

Semantic roles & 50–950 ramp

primary
#6171CC
secondary
#D9D3AF
accent
#C64DDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #6171CC

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

Preview Lab → · Contrast checker → · Palette generator →

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