Color #2f3e70
A moderately saturated dark blue.
Conversions
#2f3e70
rgb(47, 62, 112)
hsl(226.2, 40.9%, 31.2%)
hsv(226.2, 58%, 43.9%)
cmyk(58%, 44.6%, 0%, 56.1%)
lab(27.35, 10.21, -30.86)
lch(27.35, 32.51, 288.31)
oklch(37.7%, 0.0877, 269.28)
hwb(226.2, 18.4%, 56.1%)
Harmony colors
Accessibility
White text reads better on this background (10.27:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#363667 · ΔE 4.4
Deuteranopia
#353464 · ΔE 5
Tritanopia
#305e5c · ΔE 25.2
Achromatopsia
#414141 · ΔE 19.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2f3e70;
bg-[#2f3e70]
Related colors
Frequently asked questions
#2f3e70 (#2f3e70) is rgb(47, 62, 112) in RGB.
No, #2f3e70 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 #2f3e70, or check how it holds up for accessibility.