Color #30215a
A moderately saturated dark blue.
Conversions
#30215a
rgb(48, 33, 90)
hsl(255.8, 46.3%, 24.1%)
hsv(255.8, 63.3%, 35.3%)
cmyk(46.7%, 63.3%, 0%, 64.7%)
lab(17.71, 22.73, -31.98)
lch(17.71, 39.23, 305.4)
oklch(30%, 0.098, 291.49)
hwb(255.8, 12.9%, 64.7%)
Harmony colors
Accessibility
White text reads better on this background (14.09:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2a2a50 · ΔE 5.8
Deuteranopia
#2b2c4e · ΔE 7.1
Tritanopia
#2f4846 · ΔE 25.8
Achromatopsia
#2b2b2b · ΔE 22
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #30215a;
bg-[#30215a]
Related colors
Frequently asked questions
#30215a (#30215a) is rgb(48, 33, 90) in RGB.
No, #30215a 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 #30215a, or check how it holds up for accessibility.