#6172BB#6172BB

#6172BB is a mid, moderate blue. Relative luminance 0.182; OKLCH L 57.1% C 0.114 H 272.4°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#6172BB
RGBrgb(97, 114, 187)
HSLhsl(229, 40%, 56%)
HSVhsv(229, 48%, 73%)
CMYKcmyk(48.1%, 39%, 0%, 26.7%)
CIE-LABlab(49.69, 13.81, -40.48)
CIE-LCHlch(49.69, 42.77, 288.84°)
OKLaboklab(57.14% 0.0048 -0.1143)
OKLCHoklch(57.14% 0.114 272.4)
XYZxyz(19.9139, 18.1627, 49.4605)
Luminance0.1816 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6172BB #BBAA61
analogous
#619FBB #6172BB #7D61BB
triadic
#6172BB #BB6172 #72BB61
tetradic
#6172BB #BB619F #BBAA61 #61BB7D
square
#6172BB #BB619F #BBAA61 #61BB7D
split-complementary
#6172BB #BB7D61 #9FBB61
monochromatic
#313D71 #43549C #6172BB #8C98CD #B7BEE0

Accessibility & contrast

On white

4.53
#6172BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#6172BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6172BB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6172BB#FFFFFF#000000##000000
##6172BB1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#567ABE
Deuteranopia (green-blind)
#4E73B9
Tritanopia (blue-blind)
#3E818D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6172bb;
/* rgb */ color: rgb(97, 114, 187);
/* oklch */ color: oklch(57.1% 0.114 272.4);
Tailwind
colors: {
  custom: {
    50: '#939ad0',
    500: '#6172bb',
    950: '#000000',
  },
}
SCSS
$custom: #6172bb;
$custom-light: #939ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#6172bb",
  "rgb": {
    "r": 97,
    "g": 114,
    "b": 187
  },
  "hsl": {
    "h": 228.667,
    "s": 39.823,
    "l": 55.686
  },
  "oklch": {
    "l": 0.57135,
    "c": 0.11442,
    "h": 272.4
  },
  "luminance": 0.18164
}

Semantic roles & 50–950 ramp

primary
#6172BB
secondary
#CFC8A9
accent
#B958D0
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #6172BB

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

Preview Lab → · Contrast checker → · Palette generator →

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