Color #3f3f9a
A moderately saturated medium blue.
Conversions
#3f3f9a
rgb(63, 63, 154)
hsl(240, 41.9%, 42.5%)
hsv(240, 59.1%, 60.4%)
cmyk(59.1%, 59.1%, 0%, 39.6%)
lab(31.68, 27.81, -49.93)
lch(31.68, 57.15, 299.12)
oklch(42.2%, 0.1448, 278.22)
hwb(240, 24.7%, 39.6%)
Harmony colors
Accessibility
White text reads better on this background (8.79:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3f3f8b · ΔE 2.6
Deuteranopia
#3f3f87 · ΔE 3.3
Tritanopia
#3f7d7a · ΔE 33.2
Achromatopsia
#4b4b4b · ΔE 25.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #3f3f9a;
bg-[#3f3f9a]
Related colors
Frequently asked questions
#3f3f9a (#3f3f9a) is rgb(63, 63, 154) in RGB.
No, #3f3f9a 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 #3f3f9a, or check how it holds up for accessibility.