Color #2c3874
A moderately saturated dark blue.
Conversions
#2c3874
rgb(44, 56, 116)
hsl(230, 45%, 31.4%)
hsv(230, 62.1%, 45.5%)
cmyk(62.1%, 51.7%, 0%, 54.5%)
lab(25.64, 15.14, -36.15)
lch(25.64, 39.19, 292.72)
oklch(36.5%, 0.1035, 271.83)
hwb(230, 17.3%, 54.5%)
Harmony colors
Accessibility
White text reads better on this background (10.91:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#323269 · ΔE 3.5
Deuteranopia
#313066 · ΔE 4.1
Tritanopia
#2d605d · ΔE 27.7
Achromatopsia
#3d3d3d · ΔE 21.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2c3874;
bg-[#2c3874]
Related colors
Frequently asked questions
#2c3874 (#2c3874) is rgb(44, 56, 116) in RGB.
No, #2c3874 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 #2c3874, or check how it holds up for accessibility.