Color #302b46
A muted dark blue.
Conversions
#302b46
rgb(48, 43, 70)
hsl(251.1, 23.9%, 22.2%)
hsv(251.1, 38.6%, 27.5%)
cmyk(31.4%, 38.6%, 0%, 72.5%)
lab(19.22, 9.45, -16.08)
lch(19.22, 18.65, 300.44)
oklch(30.7%, 0.0482, 291.82)
hwb(251.1, 16.9%, 72.5%)
Harmony colors
Accessibility
White text reads better on this background (13.46:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2e2e41 · ΔE 4.3
Deuteranopia
#2e2f3f · ΔE 6
Tritanopia
#303c3b · ΔE 19
Achromatopsia
#2f2f2f · ΔE 14.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #302b46;
bg-[#302b46]
Related colors
Frequently asked questions
#302b46 (#302b46) is rgb(48, 43, 70) in RGB.
No, #302b46 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 #302b46, or check how it holds up for accessibility.