Color #2c406b
A moderately saturated dark blue.
Conversions
#2c406b
rgb(44, 64, 107)
hsl(221, 41.7%, 29.6%)
hsv(221, 58.9%, 42%)
cmyk(58.9%, 40.2%, 0%, 58%)
lab(27.47, 6.31, -27.49)
lch(27.47, 28.2, 282.93)
oklch(37.7%, 0.0783, 264.14)
hwb(221, 17.3%, 58%)
Harmony colors
Accessibility
White text reads better on this background (10.23:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#363663 · ΔE 6
Deuteranopia
#353361 · ΔE 6.8
Tritanopia
#2d5b5a · ΔE 23.1
Achromatopsia
#414141 · ΔE 17.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2c406b;
bg-[#2c406b]
Related colors
Frequently asked questions
#2c406b (#2c406b) is rgb(44, 64, 107) in RGB.
No, #2c406b 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 #2c406b, or check how it holds up for accessibility.