Color #041b7f
A vivid, highly saturated dark blue.
Conversions
#041b7f
rgb(4, 27, 127)
hsl(228.8, 93.9%, 25.7%)
hsv(228.8, 96.9%, 49.8%)
cmyk(96.9%, 78.7%, 0%, 50.2%)
lab(17.19, 34.72, -57.04)
lch(17.19, 66.78, 301.33)
oklch(30%, 0.1662, 264.79)
hwb(228.8, 1.6%, 50.2%)
Harmony colors
Accessibility
White text reads better on this background (14.3:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#111170 · ΔE 3.2
Deuteranopia
#0f0d6d · ΔE 4.1
Tritanopia
#066360 · ΔE 35.8
Achromatopsia
#2a2a2a · ΔE 26.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #041b7f;
bg-[#041b7f]
Related colors
Frequently asked questions
#041b7f (#041b7f) is rgb(4, 27, 127) in RGB.
No, #041b7f 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 #041b7f, or check how it holds up for accessibility.