#6170CF#6170CF

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

Color values

HEX#6170CF
RGBrgb(97, 112, 207)
HSLhsl(232, 53%, 60%)
HSVhsv(232, 53%, 81%)
CMYKcmyk(53.1%, 45.9%, 0%, 18.8%)
CIE-LABlab(50.26, 21.33, -51.05)
CIE-LCHlch(50.26, 55.33, 292.68°)
OKLaboklab(57.92% 0.0107 -0.1453)
OKLCHoklch(57.92% 0.146 274.2)
XYZxyz(21.9828, 18.6333, 61.4576)
Luminance0.1863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6170CF #CFC061
analogous
#61A7CF #6170CF #8961CF
triadic
#6170CF #CF6170 #70CF61
tetradic
#6170CF #CF61A7 #CFC061 #61CF89
square
#6170CF #CF61A7 #CFC061 #61CF89
split-complementary
#6170CF #CF8961 #A7CF61
monochromatic
#2A388B #394ABA #6170CF #909ADD #BFC5EC

Accessibility & contrast

On white

4.44
#6170CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#6170CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6170CF
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6170CF#FFFFFF#000000##000000
##6170CF1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#467CD3
Deuteranopia (green-blind)
#3973CD
Tritanopia (blue-blind)
#2D8595
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6170cf;
/* rgb */ color: rgb(97, 112, 207);
/* oklch */ color: oklch(57.9% 0.146 274.2);
Tailwind
colors: {
  custom: {
    50: '#9598de',
    500: '#6170cf',
    950: '#000000',
  },
}
SCSS
$custom: #6170cf;
$custom-light: #9598de;
$custom-dark: #000000;
JSON
{
  "hex": "#6170cf",
  "rgb": {
    "r": 97,
    "g": 112,
    "b": 207
  },
  "hsl": {
    "h": 231.818,
    "s": 53.398,
    "l": 59.608
  },
  "oklch": {
    "l": 0.57921,
    "c": 0.14569,
    "h": 274.2
  },
  "luminance": 0.18635
}

Semantic roles & 50–950 ramp

primary
#6170CF
secondary
#DBD5B1
accent
#C94BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #6170CF

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

Preview Lab → · Contrast checker → · Palette generator →

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