Color #18313c
A moderately saturated very dark cyan.
Conversions
#18313c
rgb(24, 49, 60)
hsl(198.3, 42.9%, 16.5%)
hsv(198.3, 60%, 23.5%)
cmyk(60%, 18.3%, 0%, 76.5%)
lab(18.87, -5.89, -9.92)
lch(18.87, 11.54, 239.3)
oklch(29.8%, 0.0368, 228.3)
hwb(198.3, 9.4%, 76.5%)
Harmony colors
Accessibility
White text reads better on this background (13.61:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#25253a · ΔE 14.7
Deuteranopia
#242239 · ΔE 16.3
Tritanopia
#1a3837 · ΔE 8.4
Achromatopsia
#2e2e2e · ΔE 10.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #18313c;
bg-[#18313c]
Related colors
Frequently asked questions
#18313c (#18313c) is rgb(24, 49, 60) in RGB.
No, #18313c 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 #18313c, or check how it holds up for accessibility.