Color #2f4474
A moderately saturated dark blue.
Conversions
#2f4474
rgb(47, 68, 116)
hsl(221.7, 42.3%, 32%)
hsv(221.7, 59.5%, 45.5%)
cmyk(59.5%, 41.4%, 0%, 54.5%)
lab(29.41, 7.58, -30.12)
lch(29.41, 31.06, 284.13)
oklch(39.4%, 0.0857, 264.91)
hwb(221.7, 18.4%, 54.5%)
Harmony colors
Accessibility
White text reads better on this background (9.55:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#39396b · ΔE 6
Deuteranopia
#383668 · ΔE 6.9
Tritanopia
#306361 · ΔE 24.6
Achromatopsia
#454545 · ΔE 18.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2f4474;
bg-[#2f4474]
Related colors
Frequently asked questions
#2f4474 (#2f4474) is rgb(47, 68, 116) in RGB.
No, #2f4474 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 #2f4474, or check how it holds up for accessibility.