Color #2d166f
A moderately saturated dark blue.
Conversions
#2d166f
rgb(45, 22, 111)
hsl(255.5, 66.9%, 26.1%)
hsv(255.5, 80.2%, 43.5%)
cmyk(59.5%, 80.2%, 0%, 56.5%)
lab(16.89, 35.53, -47.16)
lch(16.89, 59.05, 306.99)
oklch(29.9%, 0.1413, 286.02)
hwb(255.5, 8.6%, 56.5%)
Harmony colors
Accessibility
White text reads better on this background (14.42:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#252562 · ΔE 6.2
Deuteranopia
#26285f · ΔE 7.6
Tritanopia
#2c5653 · ΔE 31
Achromatopsia
#2a2a2a · ΔE 25.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2d166f;
bg-[#2d166f]
Related colors
Frequently asked questions
#2d166f (#2d166f) is rgb(45, 22, 111) in RGB.
No, #2d166f 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 #2d166f, or check how it holds up for accessibility.