Color #2f4261
A muted dark blue.
Conversions
#2f4261
rgb(47, 66, 97)
hsl(217.2, 34.7%, 28.2%)
hsv(217.2, 51.5%, 38%)
cmyk(51.5%, 32%, 0%, 62%)
lab(27.75, 2.19, -20.64)
lch(27.75, 20.76, 276.06)
oklch(37.8%, 0.0588, 259.91)
hwb(217.2, 18.4%, 62%)
Harmony colors
Accessibility
White text reads better on this background (10.13:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#38385b · ΔE 7.5
Deuteranopia
#373659 · ΔE 8
Tritanopia
#305554 · ΔE 19.1
Achromatopsia
#414141 · ΔE 14.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2f4261;
bg-[#2f4261]
Related colors
Frequently asked questions
#2f4261 (#2f4261) is rgb(47, 66, 97) in RGB.
No, #2f4261 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 #2f4261, or check how it holds up for accessibility.