#6170BF#6170BF

#6170BF is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.0% C 0.123 H 273.8°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#6170BF
RGBrgb(97, 112, 191)
HSLhsl(230, 42%, 56%)
HSVhsv(230, 49%, 75%)
CMYKcmyk(49.2%, 41.4%, 0%, 25.1%)
CIE-LABlab(49.36, 16.28, -43.31)
CIE-LCHlch(49.36, 46.27, 290.60°)
OKLaboklab(56.95% 0.0081 -0.1226)
OKLCHoklch(56.95% 0.123 273.8)
XYZxyz(20.1249, 17.8901, 51.6728)
Luminance0.1789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6170BF #BFB061
analogous
#619FBF #6170BF #8161BF
triadic
#6170BF #BF6170 #70BF61
tetradic
#6170BF #BF619F #BFB061 #61BF81
square
#6170BF #BF619F #BFB061 #61BF81
split-complementary
#6170BF #BF8161 #9FBF61
monochromatic
#303B76 #4151A1 #6170BF #8D97D1 #B8BFE2

Accessibility & contrast

On white

4.59
#6170BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#6170BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6170BF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6170BF#FFFFFF#000000##FFFFFF
##6170BF1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5179C2
Deuteranopia (green-blind)
#4872BD
Tritanopia (blue-blind)
#3C818E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6170bf;
/* rgb */ color: rgb(97, 112, 191);
/* oklch */ color: oklch(57.0% 0.123 273.8);
Tailwind
colors: {
  custom: {
    50: '#9398d3',
    500: '#6170bf',
    950: '#000000',
  },
}
SCSS
$custom: #6170bf;
$custom-light: #9398d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6170bf",
  "rgb": {
    "r": 97,
    "g": 112,
    "b": 191
  },
  "hsl": {
    "h": 230.426,
    "s": 42.342,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5695,
    "c": 0.12286,
    "h": 273.8
  },
  "luminance": 0.17891
}

Semantic roles & 50–950 ramp

primary
#6170BF
secondary
#D1CBAB
accent
#BE56D2
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0D0D14
muted
#7E7E83

Preview Lab

Preview with #6170BF

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

Preview Lab → · Contrast checker → · Palette generator →

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