#6170D7#6170D7

#6170D7 is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.4% C 0.157 H 274.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#6170D7
RGBrgb(97, 112, 215)
HSLhsl(232, 60%, 61%)
HSVhsv(232, 55%, 84%)
CMYKcmyk(54.9%, 47.9%, 0%, 15.7%)
CIE-LABlab(50.73, 23.89, -54.84)
CIE-LCHlch(50.73, 59.82, 293.54°)
OKLaboklab(58.43% 0.0117 -0.1564)
OKLCHoklch(58.43% 0.157 274.3)
XYZxyz(22.9857, 19.0344, 66.7396)
Luminance0.1904 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6170D7 #D7C861
analogous
#61ABD7 #6170D7 #8D61D7
triadic
#6170D7 #D76170 #70D761
tetradic
#6170D7 #D761AB #D7C861 #61D78D
square
#6170D7 #D761AB #D7C861 #61D78D
split-complementary
#6170D7 #D78D61 #ABD761
monochromatic
#263597 #3346C8 #6170D7 #929CE3 #C3C8F0

Accessibility & contrast

On white

4.37
#6170D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#6170D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6170D7
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6170D7#FFFFFF#000000##000000
##6170D71.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F7EDB
Deuteranopia (green-blind)
#2F74D5
Tritanopia (blue-blind)
#228799
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6170d7;
/* rgb */ color: rgb(97, 112, 215);
/* oklch */ color: oklch(58.4% 0.157 274.3);
Tailwind
colors: {
  custom: {
    50: '#9698e4',
    500: '#6170d7',
    950: '#000000',
  },
}
SCSS
$custom: #6170d7;
$custom-light: #9698e4;
$custom-dark: #000000;
JSON
{
  "hex": "#6170d7",
  "rgb": {
    "r": 97,
    "g": 112,
    "b": 215
  },
  "hsl": {
    "h": 232.373,
    "s": 59.596,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58432,
    "c": 0.15687,
    "h": 274.3
  },
  "luminance": 0.19036
}

Semantic roles & 50–950 ramp

primary
#6170D7
secondary
#E0DAB4
accent
#B21EC7
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #6170D7

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

Preview Lab → · Contrast checker → · Palette generator →

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