Color #303c7d
A moderately saturated dark blue.
Conversions
#303c7d
rgb(48, 60, 125)
hsl(230.6, 44.5%, 33.9%)
hsv(230.6, 61.6%, 49%)
cmyk(61.6%, 52%, 0%, 51%)
lab(27.68, 16.55, -38.53)
lch(27.68, 41.93, 293.25)
oklch(38.3%, 0.1103, 272.29)
hwb(230.6, 18.8%, 51%)
Harmony colors
Accessibility
White text reads better on this background (10.15:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#363671 · ΔE 3.5
Deuteranopia
#35346e · ΔE 4.1
Tritanopia
#316765 · ΔE 28.1
Achromatopsia
#414141 · ΔE 22.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #303c7d;
bg-[#303c7d]
Related colors
Frequently asked questions
#303c7d (#303c7d) is rgb(48, 60, 125) in RGB.
No, #303c7d 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 #303c7d, or check how it holds up for accessibility.