Color #2f236c
A moderately saturated dark blue.
Conversions
#2f236c
rgb(47, 35, 108)
hsl(249.9, 51%, 28%)
hsv(249.9, 67.6%, 42.4%)
cmyk(56.5%, 67.6%, 0%, 57.6%)
lab(19.59, 27.18, -40.78)
lch(19.59, 49.01, 303.68)
oklch(31.8%, 0.1211, 284.69)
hwb(249.9, 13.7%, 57.6%)
Harmony colors
Accessibility
White text reads better on this background (13.31:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2a2a60 · ΔE 4.4
Deuteranopia
#2b2c5d · ΔE 5.6
Tritanopia
#2e5653 · ΔE 29.2
Achromatopsia
#2f2f2f · ΔE 23.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2f236c;
bg-[#2f236c]
Related colors
Frequently asked questions
#2f236c (#2f236c) is rgb(47, 35, 108) in RGB.
No, #2f236c 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 #2f236c, or check how it holds up for accessibility.