Color #181560
A moderately saturated dark blue.
Conversions
#181560
rgb(24, 21, 96)
hsl(242.4, 64.1%, 22.9%)
hsv(242.4, 78.1%, 37.6%)
cmyk(75%, 78.1%, 0%, 62.4%)
lab(13.08, 28.27, -43.64)
lch(13.08, 52, 302.94)
oklch(26.3%, 0.1267, 274.98)
hwb(242.4, 8.2%, 62.4%)
Harmony colors
Accessibility
White text reads better on this background (15.97:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#171755 · ΔE 2.5
Deuteranopia
#171752 · ΔE 3.2
Tritanopia
#184b48 · ΔE 30.6
Achromatopsia
#222222 · ΔE 24.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #181560;
bg-[#181560]
Related colors
Frequently asked questions
#181560 (#181560) is rgb(24, 21, 96) in RGB.
No, #181560 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 #181560, or check how it holds up for accessibility.