Color #646874
A nearly neutral, gray-leaning medium blue.
Conversions
#646874
rgb(100, 104, 116)
hsl(225, 7.4%, 42.4%)
hsv(225, 13.8%, 45.5%)
cmyk(13.8%, 10.3%, 0%, 54.5%)
lab(44.05, 1.13, -7.23)
lch(44.05, 7.32, 278.88)
oklch(51.8%, 0.0195, 270.88)
hwb(225, 39.2%, 54.5%)
Harmony colors
Accessibility
White text reads better on this background (5.56:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#666671 · ΔE 2.1
Deuteranopia
#666571 · ΔE 2.8
Tritanopia
#646f6f · ΔE 8.6
Achromatopsia
#686868 · ΔE 6.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #646874;
bg-[#646874]
Related colors
Frequently asked questions
#646874 (#646874) is rgb(100, 104, 116) in RGB.
No, #646874 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 #646874, or check how it holds up for accessibility.