Color #20173f
A moderately saturated very dark blue.
Conversions
#20173f
rgb(32, 23, 63)
hsl(253.5, 46.5%, 16.9%)
hsv(253.5, 63.5%, 24.7%)
cmyk(49.2%, 63.5%, 0%, 75.3%)
lab(11.13, 16.33, -24.15)
lch(11.13, 29.15, 304.07)
oklch(24.1%, 0.0732, 290.14)
hwb(253.5, 9%, 75.3%)
Harmony colors
Accessibility
White text reads better on this background (16.72:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1c1c38 · ΔE 4.9
Deuteranopia
#1d1e36 · ΔE 6.7
Tritanopia
#203231 · ΔE 23.6
Achromatopsia
#1e1e1e · ΔE 19.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #20173f;
bg-[#20173f]
Related colors
Frequently asked questions
#20173f (#20173f) is rgb(32, 23, 63) in RGB.
No, #20173f 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 #20173f, or check how it holds up for accessibility.