#6172BC#6172BC

#6172BC is a mid, moderate blue. Relative luminance 0.182; OKLCH L 57.2% C 0.116 H 272.5°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#6172BC
RGBrgb(97, 114, 188)
HSLhsl(229, 40%, 56%)
HSVhsv(229, 48%, 74%)
CMYKcmyk(48.4%, 39.4%, 0%, 26.3%)
CIE-LABlab(49.74, 14.12, -40.97)
CIE-LCHlch(49.74, 43.34, 289.01°)
OKLaboklab(57.19% 0.005 -0.1158)
OKLCHoklch(57.19% 0.116 272.5)
XYZxyz(20.0213, 18.2057, 50.0263)
Luminance0.1821 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6172BC #BCAB61
analogous
#619FBC #6172BC #7D61BC
triadic
#6172BC #BC6172 #72BC61
tetradic
#6172BC #BC619F #BCAB61 #61BC7D
square
#6172BC #BC619F #BCAB61 #61BC7D
split-complementary
#6172BC #BC7D61 #9FBC61
monochromatic
#303D72 #43549D #6172BC #8C98CE #B7BFE0

Accessibility & contrast

On white

4.52
#6172BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#6172BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6172BC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6172BC#FFFFFF#000000##000000
##6172BC1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#567ABF
Deuteranopia (green-blind)
#4D73BA
Tritanopia (blue-blind)
#3D828E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6172bc;
/* rgb */ color: rgb(97, 114, 188);
/* oklch */ color: oklch(57.2% 0.116 272.5);
Tailwind
colors: {
  custom: {
    50: '#939ad0',
    500: '#6172bc',
    950: '#000000',
  },
}
SCSS
$custom: #6172bc;
$custom-light: #939ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#6172bc",
  "rgb": {
    "r": 97,
    "g": 114,
    "b": 188
  },
  "hsl": {
    "h": 228.791,
    "s": 40.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57191,
    "c": 0.11588,
    "h": 272.5
  },
  "luminance": 0.18207
}

Semantic roles & 50–950 ramp

primary
#6172BC
secondary
#CFC8AA
accent
#BA57D0
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #6172BC

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

Preview Lab → · Contrast checker → · Palette generator →

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