Color #2f2254
A moderately saturated dark blue.
Conversions
#2f2254
rgb(47, 34, 84)
hsl(255.6, 42.4%, 23.1%)
hsv(255.6, 59.5%, 32.9%)
cmyk(44%, 59.5%, 0%, 67.1%)
lab(17.41, 19.85, -28.45)
lch(17.41, 34.69, 304.9)
oklch(29.6%, 0.0873, 292.22)
hwb(255.6, 13.3%, 67.1%)
Harmony colors
Accessibility
White text reads better on this background (14.21:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2a2a4b · ΔE 5.8
Deuteranopia
#2b2c49 · ΔE 7.3
Tritanopia
#2e4442 · ΔE 25.2
Achromatopsia
#2b2b2b · ΔE 20.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2f2254;
bg-[#2f2254]
Related colors
Frequently asked questions
#2f2254 (#2f2254) is rgb(47, 34, 84) in RGB.
No, #2f2254 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 #2f2254, or check how it holds up for accessibility.