Color #302f61
A muted dark blue.
Conversions
#302f61
rgb(48, 47, 97)
hsl(241.2, 34.7%, 28.2%)
hsv(241.2, 51.5%, 38%)
cmyk(50.5%, 51.5%, 0%, 62%)
lab(22.03, 15.5, -29.66)
lch(22.03, 33.47, 297.59)
oklch(33.4%, 0.0861, 281.6)
hwb(241.2, 18.4%, 62%)
Harmony colors
Accessibility
White text reads better on this background (12.32:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#303058 · ΔE 2.6
Deuteranopia
#303056 · ΔE 3.2
Tritanopia
#30504e · ΔE 25.6
Achromatopsia
#353535 · ΔE 20.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #302f61;
bg-[#302f61]
Related colors
Frequently asked questions
#302f61 (#302f61) is rgb(48, 47, 97) in RGB.
No, #302f61 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 #302f61, or check how it holds up for accessibility.