Color #2f3c81
A moderately saturated dark blue.
Conversions
#2f3c81
rgb(47, 60, 129)
hsl(230.5, 46.6%, 34.5%)
hsv(230.5, 63.6%, 50.6%)
cmyk(63.6%, 53.5%, 0%, 49.4%)
lab(27.9, 17.82, -40.69)
lch(27.9, 44.42, 293.65)
oklch(38.5%, 0.1167, 271.82)
hwb(230.5, 18.4%, 49.4%)
Harmony colors
Accessibility
White text reads better on this background (10.08:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#353575 · ΔE 3.6
Deuteranopia
#343372 · ΔE 4.2
Tritanopia
#306a67 · ΔE 29.4
Achromatopsia
#424242 · ΔE 22.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2f3c81;
bg-[#2f3c81]
Related colors
Frequently asked questions
#2f3c81 (#2f3c81) is rgb(47, 60, 129) in RGB.
No, #2f3c81 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 #2f3c81, or check how it holds up for accessibility.