Color #300d8e
A vivid, highly saturated dark blue.
Conversions
#300d8e
rgb(48, 13, 142)
hsl(256.3, 83.2%, 30.4%)
hsv(256.3, 90.8%, 55.7%)
cmyk(66.2%, 90.8%, 0%, 44.3%)
lab(19.51, 48.68, -62.55)
lch(19.51, 79.26, 307.89)
oklch(32.9%, 0.1842, 281.65)
hwb(256.3, 5.1%, 44.3%)
Harmony colors
Accessibility
White text reads better on this background (13.34:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#25257d · ΔE 6.3
Deuteranopia
#272979 · ΔE 7.7
Tritanopia
#2f6e6a · ΔE 37.4
Achromatopsia
#2f2f2f · ΔE 28.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #300d8e;
bg-[#300d8e]
Related colors
Frequently asked questions
#300d8e (#300d8e) is rgb(48, 13, 142) in RGB.
No, #300d8e 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 #300d8e, or check how it holds up for accessibility.