Color #2f0d8a
A vivid, highly saturated dark blue.
Conversions
#2f0d8a
rgb(47, 13, 138)
hsl(256.3, 82.8%, 29.6%)
hsv(256.3, 90.6%, 54.1%)
cmyk(65.9%, 90.6%, 0%, 45.9%)
lab(18.91, 47.51, -61.04)
lch(18.91, 77.35, 307.9)
oklch(32.3%, 0.18, 281.93)
hwb(256.3, 5.1%, 45.9%)
Harmony colors
Accessibility
White text reads better on this background (13.59:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#24247a · ΔE 6.2
Deuteranopia
#262875 · ΔE 7.8
Tritanopia
#2e6b67 · ΔE 36.8
Achromatopsia
#2e2e2e · ΔE 28.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2f0d8a;
bg-[#2f0d8a]
Related colors
Frequently asked questions
#2f0d8a (#2f0d8a) is rgb(47, 13, 138) in RGB.
No, #2f0d8a is not web-safe. The nearest web-safe colors are among its tones and shades below.
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 #2f0d8a, or check how it holds up for accessibility.