Color #2f4166
A muted dark blue.
Conversions
#2f4166
rgb(47, 65, 102)
hsl(220.4, 36.9%, 29.2%)
hsv(220.4, 53.9%, 40%)
cmyk(53.9%, 36.3%, 0%, 60%)
lab(27.69, 4.59, -23.93)
lch(27.69, 24.37, 280.86)
oklch(37.8%, 0.0678, 263.73)
hwb(220.4, 18.4%, 60%)
Harmony colors
Accessibility
White text reads better on this background (10.15:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#38385f · ΔE 6.1
Deuteranopia
#37355d · ΔE 7
Tritanopia
#305857 · ΔE 21.4
Achromatopsia
#414141 · ΔE 15.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2f4166;
bg-[#2f4166]
Related colors
Frequently asked questions
#2f4166 (#2f4166) is rgb(47, 65, 102) in RGB.
No, #2f4166 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 #2f4166, or check how it holds up for accessibility.