Color #42545f
A muted dark blue.
Conversions
#42545f
rgb(66, 84, 95)
hsl(202.8, 18%, 31.6%)
hsv(202.8, 30.5%, 37.3%)
cmyk(30.5%, 11.6%, 0%, 62.7%)
lab(34.65, -4.03, -8.66)
lch(34.65, 9.55, 245.04)
oklch(43.5%, 0.0289, 235.15)
hwb(202.8, 25.9%, 62.7%)
Harmony colors
Accessibility
White text reads better on this background (7.88:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#4a4b5c · ΔE 10.2
Deuteranopia
#49485c · ΔE 12.2
Tritanopia
#435a5a · ΔE 7.4
Achromatopsia
#515151 · ΔE 8.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #42545f;
bg-[#42545f]
Related colors
Frequently asked questions
#42545f (#42545f) is rgb(66, 84, 95) in RGB.
No, #42545f 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 #42545f, or check how it holds up for accessibility.