Color #181031
A moderately saturated very dark blue.
Conversions
#181031
rgb(24, 16, 49)
hsl(254.5, 50.8%, 12.7%)
hsv(254.5, 67.3%, 19.2%)
cmyk(51%, 67.3%, 0%, 80.8%)
lab(7.1, 14.06, -20.56)
lch(7.1, 24.91, 304.37)
oklch(20.5%, 0.0629, 290.97)
hwb(254.5, 6.3%, 80.8%)
Harmony colors
Accessibility
White text reads better on this background (18.15:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#15152b · ΔE 5.4
Deuteranopia
#15162a · ΔE 6.6
Tritanopia
#182625 · ΔE 22.2
Achromatopsia
#161616 · ΔE 17.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #181031;
bg-[#181031]
Related colors
Frequently asked questions
#181031 (#181031) is rgb(24, 16, 49) in RGB.
No, #181031 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 #181031, or check how it holds up for accessibility.