#6170CE#6170CE

#6170CE is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.9% C 0.144 H 274.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#6170CE
RGBrgb(97, 112, 206)
HSLhsl(232, 53%, 59%)
HSVhsv(232, 53%, 81%)
CMYKcmyk(52.9%, 45.6%, 0%, 19.2%)
CIE-LABlab(50.20, 21.01, -50.57)
CIE-LCHlch(50.20, 54.77, 292.56°)
OKLaboklab(57.86% 0.0105 -0.1439)
OKLCHoklch(57.86% 0.144 274.2)
XYZxyz(21.8609, 18.5845, 60.8158)
Luminance0.1859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6170CE #CEBF61
analogous
#61A7CE #6170CE #8961CE
triadic
#6170CE #CE6170 #70CE61
tetradic
#6170CE #CE61A7 #CEBF61 #61CE89
square
#6170CE #CE61A7 #CEBF61 #61CE89
split-complementary
#6170CE #CE8961 #A7CE61
monochromatic
#2B388A #394BB9 #6170CE #909ADC #BEC5EB

Accessibility & contrast

On white

4.45
#6170CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#6170CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6170CE
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6170CE#FFFFFF#000000##000000
##6170CE1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#477CD2
Deuteranopia (green-blind)
#3A73CC
Tritanopia (blue-blind)
#2E8495
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6170ce;
/* rgb */ color: rgb(97, 112, 206);
/* oklch */ color: oklch(57.9% 0.144 274.2);
Tailwind
colors: {
  custom: {
    50: '#9598dd',
    500: '#6170ce',
    950: '#000000',
  },
}
SCSS
$custom: #6170ce;
$custom-light: #9598dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6170ce",
  "rgb": {
    "r": 97,
    "g": 112,
    "b": 206
  },
  "hsl": {
    "h": 231.743,
    "s": 52.657,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57858,
    "c": 0.14428,
    "h": 274.2
  },
  "luminance": 0.18586
}

Semantic roles & 50–950 ramp

primary
#6170CE
secondary
#DBD5B0
accent
#C84CDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #6170CE

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

Preview Lab → · Contrast checker → · Palette generator →

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