Color #30235e
A moderately saturated dark blue.
Conversions
#30235e
rgb(48, 35, 94)
hsl(253.2, 45.7%, 25.3%)
hsv(253.2, 62.8%, 36.9%)
cmyk(48.9%, 62.8%, 0%, 63.1%)
lab(18.53, 22.71, -33.31)
lch(18.53, 40.32, 304.29)
oklch(30.7%, 0.1007, 289.24)
hwb(253.2, 13.7%, 63.1%)
Harmony colors
Accessibility
White text reads better on this background (13.75:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2b2b54 · ΔE 5.2
Deuteranopia
#2c2d52 · ΔE 6.3
Tritanopia
#2f4b49 · ΔE 26.2
Achromatopsia
#2d2d2d · ΔE 22.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #30235e;
bg-[#30235e]
Related colors
Frequently asked questions
#30235e (#30235e) is rgb(48, 35, 94) in RGB.
No, #30235e 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 #30235e, or check how it holds up for accessibility.