#6171E6#6171E6

#6171E6 is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.6% C 0.176 H 273.9°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#6171E6
RGBrgb(97, 113, 230)
HSLhsl(233, 73%, 64%)
HSVhsv(233, 58%, 90%)
CMYKcmyk(57.8%, 50.9%, 0%, 9.8%)
CIE-LABlab(51.91, 28.13, -61.41)
CIE-LCHlch(51.91, 67.55, 294.61°)
OKLaboklab(59.62% 0.0121 -0.1757)
OKLCHoklch(59.62% 0.176 273.9)
XYZxyz(25.1132, 20.0629, 77.3967)
Luminance0.2006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6171E6 #E6D661
analogous
#61B4E6 #6171E6 #9461E6
triadic
#6171E6 #E66171 #71E661
tetradic
#6171E6 #E661B4 #E6D661 #61E694
square
#6171E6 #E661B4 #E6D661 #61E694
split-complementary
#6171E6 #E69461 #B4E661
monochromatic
#1C2EB1 #2C42DE #6171E6 #96A0EE #CBD0F7

Accessibility & contrast

On white

4.19
#6171E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#6171E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6171E6
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6171E6#FFFFFF#000000##000000
##6171E61.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3082EA
Deuteranopia (green-blind)
#1176E4
Tritanopia (blue-blind)
#008CA1
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6171e6;
/* rgb */ color: rgb(97, 113, 230);
/* oklch */ color: oklch(59.6% 0.176 273.9);
Tailwind
colors: {
  custom: {
    50: '#9899ef',
    500: '#6171e6',
    950: '#000000',
  },
}
SCSS
$custom: #6171e6;
$custom-light: #9899ef;
$custom-dark: #000000;
JSON
{
  "hex": "#6171e6",
  "rgb": {
    "r": 97,
    "g": 113,
    "b": 230
  },
  "hsl": {
    "h": 232.782,
    "s": 72.678,
    "l": 64.118
  },
  "oklch": {
    "l": 0.59622,
    "c": 0.17615,
    "h": 273.9
  },
  "luminance": 0.20065
}

Semantic roles & 50–950 ramp

primary
#6171E6
secondary
#E9E3BA
accent
#BD11D5
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6171E6

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

Preview Lab → · Contrast checker → · Palette generator →

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