#6170BB#6170BB

#6170BB is a mid, moderate blue. Relative luminance 0.177; OKLCH L 56.7% C 0.117 H 273.6°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#6170BB
RGBrgb(97, 112, 187)
HSLhsl(230, 40%, 56%)
HSVhsv(230, 48%, 73%)
CMYKcmyk(48.1%, 40.1%, 0%, 26.7%)
CIE-LABlab(49.15, 15.03, -41.34)
CIE-LCHlch(49.15, 43.99, 289.99°)
OKLaboklab(56.72% 0.0073 -0.1168)
OKLCHoklch(56.72% 0.117 273.6)
XYZxyz(19.6908, 17.7164, 49.3861)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6170BB #BBAC61
analogous
#619DBB #6170BB #7F61BB
triadic
#6170BB #BB6170 #70BB61
tetradic
#6170BB #BB619D #BBAC61 #61BB7F
square
#6170BB #BB619D #BBAC61 #61BB7F
split-complementary
#6170BB #BB7F61 #9DBB61
monochromatic
#313B71 #43529C #6170BB #8C97CD #B7BDE0

Accessibility & contrast

On white

4.62
#6170BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#6170BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6170BB
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6170BB#FFFFFF#000000##FFFFFF
##6170BB1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5379BE
Deuteranopia (green-blind)
#4B71B9
Tritanopia (blue-blind)
#3E808C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6170bb;
/* rgb */ color: rgb(97, 112, 187);
/* oklch */ color: oklch(56.7% 0.117 273.6);
Tailwind
colors: {
  custom: {
    50: '#9398d0',
    500: '#6170bb',
    950: '#000000',
  },
}
SCSS
$custom: #6170bb;
$custom-light: #9398d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6170bb",
  "rgb": {
    "r": 97,
    "g": 112,
    "b": 187
  },
  "hsl": {
    "h": 230,
    "s": 39.823,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56718,
    "c": 0.11707,
    "h": 273.6
  },
  "luminance": 0.17718
}

Semantic roles & 50–950 ramp

primary
#6170BB
secondary
#CFC8A9
accent
#BC58D0
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0D0D14
muted
#7E7E82

Preview Lab

Preview with #6170BB

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

Preview Lab → · Contrast checker → · Palette generator →

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