Color #2f3155
A muted dark blue.
Conversions
#2f3155
rgb(47, 49, 85)
hsl(236.8, 28.8%, 25.9%)
hsv(236.8, 44.7%, 33.3%)
cmyk(44.7%, 42.4%, 0%, 66.7%)
lab(21.79, 9.73, -22.14)
lch(21.79, 24.18, 293.72)
oklch(32.9%, 0.0632, 279.92)
hwb(236.8, 18.4%, 66.7%)
Harmony colors
Accessibility
White text reads better on this background (12.42:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#30304e · ΔE 2.1
Deuteranopia
#30304c · ΔE 2.8
Tritanopia
#2f4847 · ΔE 22.4
Achromatopsia
#343434 · ΔE 16.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2f3155;
bg-[#2f3155]
Related colors
Frequently asked questions
#2f3155 (#2f3155) is rgb(47, 49, 85) in RGB.
No, #2f3155 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 #2f3155, or check how it holds up for accessibility.