Color #18151f
A muted very dark blue.
Conversions
#18151f
rgb(24, 21, 31)
hsl(258, 19.2%, 10.2%)
hsv(258, 32.3%, 12.2%)
cmyk(22.6%, 32.3%, 0%, 87.8%)
lab(7.49, 4.21, -6.45)
lch(7.49, 7.7, 303.13)
oklch(20.4%, 0.0201, 298.22)
hwb(258, 8.2%, 87.8%)
Harmony colors
Accessibility
White text reads better on this background (18.01:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#17171d · ΔE 3.5
Deuteranopia
#17171c · ΔE 4.1
Tritanopia
#181b1b · ΔE 8.9
Achromatopsia
#171717 · ΔE 7.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #18151f;
bg-[#18151f]
Related colors
Frequently asked questions
#18151f (#18151f) is rgb(24, 21, 31) in RGB.
No, #18151f 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 #18151f, or check how it holds up for accessibility.