Color #2d1f9a
A moderately saturated dark blue.
Conversions
#2d1f9a
rgb(45, 31, 154)
hsl(246.8, 66.5%, 36.3%)
hsv(246.8, 79.9%, 60.4%)
cmyk(70.8%, 79.9%, 0%, 39.6%)
lab(23.24, 44.4, -63.81)
lch(23.24, 77.74, 304.83)
oklch(35.8%, 0.1856, 276.56)
hwb(246.8, 12.2%, 39.6%)
Harmony colors
Accessibility
White text reads better on this background (11.84:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#282789 · ΔE 3.5
Deuteranopia
#282984 · ΔE 4.6
Tritanopia
#2c7874 · ΔE 38.4
Achromatopsia
#373737 · ΔE 28.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2d1f9a;
bg-[#2d1f9a]
Related colors
Frequently asked questions
#2d1f9a (#2d1f9a) is rgb(45, 31, 154) in RGB.
No, #2d1f9a 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 #2d1f9a, or check how it holds up for accessibility.