#6170CD#6170CD

#6170CD is a mid, vivid blue. Relative luminance 0.185; OKLCH L 57.8% C 0.143 H 274.2°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#6170CD
RGBrgb(97, 112, 205)
HSLhsl(232, 52%, 59%)
HSVhsv(232, 53%, 80%)
CMYKcmyk(52.7%, 45.4%, 0%, 19.6%)
CIE-LABlab(50.14, 20.69, -50.10)
CIE-LCHlch(50.14, 54.20, 292.45°)
OKLaboklab(57.8% 0.0104 -0.1425)
OKLCHoklch(57.8% 0.143 274.2)
XYZxyz(21.7399, 18.5361, 60.1780)
Luminance0.1854 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6170CD #CDBE61
analogous
#61A6CD #6170CD #8861CD
triadic
#6170CD #CD6170 #70CD61
tetradic
#6170CD #CD61A6 #CDBE61 #61CD88
square
#6170CD #CD61A6 #CDBE61 #61CD88
split-complementary
#6170CD #CD8861 #A6CD61
monochromatic
#2B3888 #3A4BB7 #6170CD #8F9ADC #BEC4EA

Accessibility & contrast

On white

4.46
#6170CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#6170CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6170CD
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6170CD#FFFFFF#000000##000000
##6170CD1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#477CD0
Deuteranopia (green-blind)
#3B73CB
Tritanopia (blue-blind)
#2F8494
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6170cd;
/* rgb */ color: rgb(97, 112, 205);
/* oklch */ color: oklch(57.8% 0.143 274.2);
Tailwind
colors: {
  custom: {
    50: '#9598dd',
    500: '#6170cd',
    950: '#000000',
  },
}
SCSS
$custom: #6170cd;
$custom-light: #9598dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6170cd",
  "rgb": {
    "r": 97,
    "g": 112,
    "b": 205
  },
  "hsl": {
    "h": 231.667,
    "s": 51.923,
    "l": 59.216
  },
  "oklch": {
    "l": 0.57796,
    "c": 0.14287,
    "h": 274.2
  },
  "luminance": 0.18538
}

Semantic roles & 50–950 ramp

primary
#6170CD
secondary
#DAD4B0
accent
#C84CDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #6170CD

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

Preview Lab → · Contrast checker → · Palette generator →

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