Color #2f3e75
A moderately saturated dark blue.
Conversions
#2f3e75
rgb(47, 62, 117)
hsl(227.1, 42.7%, 32.2%)
hsv(227.1, 59.8%, 45.9%)
cmyk(59.8%, 47%, 0%, 54.1%)
lab(27.66, 12.03, -33.53)
lch(27.66, 35.62, 289.74)
oklch(38.1%, 0.0955, 269.94)
hwb(227.1, 18.4%, 54.1%)
Harmony colors
Accessibility
White text reads better on this background (10.16:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#36366b · ΔE 4.3
Deuteranopia
#353468 · ΔE 4.9
Tritanopia
#306260 · ΔE 26.3
Achromatopsia
#414141 · ΔE 20.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2f3e75;
bg-[#2f3e75]
Related colors
Frequently asked questions
#2f3e75 (#2f3e75) is rgb(47, 62, 117) in RGB.
No, #2f3e75 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 #2f3e75, or check how it holds up for accessibility.