Color #180d42
A moderately saturated very dark blue.
Conversions
#180d42
rgb(24, 13, 66)
hsl(252.5, 67.1%, 15.5%)
hsv(252.5, 80.3%, 25.9%)
cmyk(63.6%, 80.3%, 0%, 74.1%)
lab(7.91, 22.47, -31.54)
lch(7.91, 38.73, 305.47)
oklch(21.6%, 0.0939, 284.86)
hwb(252.5, 5.1%, 74.1%)
Harmony colors
Accessibility
White text reads better on this background (17.87:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#14143a · ΔE 4.5
Deuteranopia
#141538 · ΔE 5.5
Tritanopia
#183331 · ΔE 26.1
Achromatopsia
#171717 · ΔE 21.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #180d42;
bg-[#180d42]
Related colors
Frequently asked questions
#180d42 (#180d42) is rgb(24, 13, 66) in RGB.
No, #180d42 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 #180d42, or check how it holds up for accessibility.