Color #6c757b
A nearly neutral, gray-leaning medium blue.
Conversions
#6c757b
rgb(108, 117, 123)
hsl(204, 6.5%, 45.3%)
hsv(204, 12.2%, 48.2%)
cmyk(12.2%, 4.9%, 0%, 51.8%)
lab(48.69, -2.05, -4.45)
lch(48.69, 4.9, 245.27)
oklch(55.7%, 0.0143, 236.98)
hwb(204, 42.4%, 51.8%)
Harmony colors
Accessibility
White text reads better on this background (4.7:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#70707a · ΔE 6
Deuteranopia
#6f6f79 · ΔE 6.1
Tritanopia
#6c7878 · ΔE 4.2
Achromatopsia
#747474 · ΔE 4.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #6c757b;
bg-[#6c757b]
Related colors
Frequently asked questions
#6c757b (#6c757b) is rgb(108, 117, 123) in RGB.
No, #6c757b is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #6c757b, or check how it holds up for accessibility.