#6170D2#6170D2

#6170D2 is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.1% C 0.150 H 274.2°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#6170D2
RGBrgb(97, 112, 210)
HSLhsl(232, 56%, 60%)
HSVhsv(232, 54%, 82%)
CMYKcmyk(53.8%, 46.7%, 0%, 17.6%)
CIE-LABlab(50.43, 22.29, -52.48)
CIE-LCHlch(50.43, 57.02, 293.01°)
OKLaboklab(58.11% 0.0111 -0.1495)
OKLCHoklch(58.11% 0.15 274.2)
XYZxyz(22.3531, 18.7814, 63.4075)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6170D2 #D2C361
analogous
#61A9D2 #6170D2 #8A61D2
triadic
#6170D2 #D26170 #70D261
tetradic
#6170D2 #D261A9 #D2C361 #61D28A
square
#6170D2 #D261A9 #D2C361 #61D28A
split-complementary
#6170D2 #D28A61 #A9D261
monochromatic
#293790 #3649BF #6170D2 #919BE0 #C0C6ED

Accessibility & contrast

On white

4.41
#6170D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#6170D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6170D2
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6170D2#FFFFFF#000000##000000
##6170D21.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#437DD6
Deuteranopia (green-blind)
#3673D0
Tritanopia (blue-blind)
#298697
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6170d2;
/* rgb */ color: rgb(97, 112, 210);
/* oklch */ color: oklch(58.1% 0.150 274.2);
Tailwind
colors: {
  custom: {
    50: '#9698e0',
    500: '#6170d2',
    950: '#000000',
  },
}
SCSS
$custom: #6170d2;
$custom-light: #9698e0;
$custom-dark: #000000;
JSON
{
  "hex": "#6170d2",
  "rgb": {
    "r": 97,
    "g": 112,
    "b": 210
  },
  "hsl": {
    "h": 232.035,
    "s": 55.665,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58111,
    "c": 0.1499,
    "h": 274.2
  },
  "luminance": 0.18783
}

Semantic roles & 50–950 ramp

primary
#6170D2
secondary
#DDD7B2
accent
#AE22C3
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #6170D2

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

Preview Lab → · Contrast checker → · Palette generator →

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