#6170AA#6170AA

#6170AA is a mid, moderate blue. Relative luminance 0.170; OKLCH L 55.8% C 0.092 H 272.1°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#6170AA
RGBrgb(97, 112, 170)
HSLhsl(228, 30%, 52%)
HSVhsv(228, 43%, 67%)
CMYKcmyk(42.9%, 34.1%, 0%, 33.3%)
CIE-LABlab(48.30, 9.86, -32.81)
CIE-LCHlch(48.30, 34.26, 286.73°)
OKLaboklab(55.78% 0.0034 -0.092)
OKLCHoklch(55.78% 0.092 272.1)
XYZxyz(17.9774, 17.0311, 40.3625)
Luminance0.1703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6170AA #AA9B61
analogous
#6195AA #6170AA #7661AA
triadic
#6170AA #AA6170 #70AA61
tetradic
#6170AA #AA6195 #AA9B61 #61AA76
square
#6170AA #AA6195 #AA9B61 #61AA76
split-complementary
#6170AA #AA7661 #95AA61
monochromatic
#333C5E #485586 #6170AA #8994BF #B1B8D5

Accessibility & contrast

On white

4.77
#6170AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#6170AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6170AA#FFFFFF#000000##FFFFFF
##6170AA1.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C76AC
Deuteranopia (green-blind)
#5570A9
Tritanopia (blue-blind)
#497C85
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6170aa;
/* rgb */ color: rgb(97, 112, 170);
/* oklch */ color: oklch(55.8% 0.092 272.1);
Tailwind
colors: {
  custom: {
    50: '#9198c3',
    500: '#6170aa',
    950: '#000000',
  },
}
SCSS
$custom: #6170aa;
$custom-light: #9198c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6170aa",
  "rgb": {
    "r": 97,
    "g": 112,
    "b": 170
  },
  "hsl": {
    "h": 227.671,
    "s": 30.041,
    "l": 52.353
  },
  "oklch": {
    "l": 0.55784,
    "c": 0.09208,
    "h": 272.1
  },
  "luminance": 0.17032
}

Semantic roles & 50–950 ramp

primary
#6170AA
secondary
#C3BDA4
accent
#B262C6
background
#F9F9FC
surface
#F1F2F8
border
#CBCCD1
text
#0D0D12
muted
#7E7E81

Preview Lab

Preview with #6170AA

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

Preview Lab → · Contrast checker → · Palette generator →

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