Color #2f389a
A moderately saturated dark blue.
Conversions
#2f389a
rgb(47, 56, 154)
hsl(235, 53.2%, 39.4%)
hsv(235, 69.5%, 60.4%)
cmyk(69.5%, 63.6%, 0%, 39.6%)
lab(28.81, 29.71, -54.64)
lch(28.81, 62.19, 298.53)
oklch(39.8%, 0.1579, 272.83)
hwb(235, 18.4%, 39.6%)
Harmony colors
Accessibility
White text reads better on this background (9.75:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#33338a · ΔE 2.9
Deuteranopia
#333286 · ΔE 3.5
Tritanopia
#2f7c78 · ΔE 35.5
Achromatopsia
#444444 · ΔE 26
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2f389a;
bg-[#2f389a]
Related colors
Frequently asked questions
#2f389a (#2f389a) is rgb(47, 56, 154) in RGB.
No, #2f389a 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 #2f389a, or check how it holds up for accessibility.