Color #30254d
A muted dark blue.
Conversions
#30254d
rgb(48, 37, 77)
hsl(256.5, 35.1%, 22.4%)
hsv(256.5, 51.9%, 30.2%)
cmyk(37.7%, 51.9%, 0%, 69.8%)
lab(17.86, 15.83, -22.98)
lch(17.86, 27.9, 304.56)
oklch(29.8%, 0.071, 294.36)
hwb(256.5, 14.5%, 69.8%)
Harmony colors
Accessibility
White text reads better on this background (14.02:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2c2c46 · ΔE 6.1
Deuteranopia
#2c2d44 · ΔE 7.5
Tritanopia
#303f3e · ΔE 22.8
Achromatopsia
#2c2c2c · ΔE 18.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #30254d;
bg-[#30254d]
Related colors
Frequently asked questions
#30254d (#30254d) is rgb(48, 37, 77) in RGB.
No, #30254d 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 #30254d, or check how it holds up for accessibility.