Color #306faa
A moderately saturated medium blue.
Conversions
#306faa
rgb(48, 111, 170)
hsl(209, 56%, 42.7%)
hsv(209, 71.8%, 66.7%)
cmyk(71.8%, 34.7%, 0%, 33.3%)
lab(45.49, -0.02, -37.4)
lch(45.49, 37.4, 269.97)
oklch(52.9%, 0.1133, 249.55)
hwb(209, 18.8%, 33.3%)
Harmony colors
Accessibility
White text reads better on this background (5.28:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#53539e · ΔE 14.5
Deuteranopia
#4f4a9b · ΔE 16.7
Tritanopia
#359492 · ΔE 25.3
Achromatopsia
#6c6c6c · ΔE 20.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #306faa;
bg-[#306faa]
Related colors
Frequently asked questions
#306faa (#306faa) is rgb(48, 111, 170) in RGB.
No, #306faa 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 #306faa, or check how it holds up for accessibility.