Color #302946
A muted dark blue.
Conversions
#302946
rgb(48, 41, 70)
hsl(254.5, 26.1%, 21.8%)
hsv(254.5, 41.4%, 27.5%)
cmyk(31.4%, 41.4%, 0%, 72.5%)
lab(18.61, 10.86, -17.03)
lch(18.61, 20.2, 302.53)
oklch(30.3%, 0.052, 294.2)
hwb(254.5, 16.1%, 72.5%)
Harmony colors
Accessibility
White text reads better on this background (13.71:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2d2d40 · ΔE 5.4
Deuteranopia
#2e2e3f · ΔE 6.3
Tritanopia
#303b3a · ΔE 19.7
Achromatopsia
#2d2d2d · ΔE 15.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #302946;
bg-[#302946]
Related colors
Frequently asked questions
#302946 (#302946) is rgb(48, 41, 70) in RGB.
No, #302946 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 #302946, or check how it holds up for accessibility.