Color #221a7e
A moderately saturated dark blue.
Conversions
#221a7e
rgb(34, 26, 126)
hsl(244.8, 65.8%, 29.8%)
hsv(244.8, 79.4%, 49.4%)
cmyk(73%, 79.4%, 0%, 50.6%)
lab(18.3, 36.9, -54.52)
lch(18.3, 65.83, 304.09)
oklch(31.2%, 0.1584, 275.58)
hwb(244.8, 10.2%, 50.6%)
Harmony colors
Accessibility
White text reads better on this background (13.84:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1f1f70 · ΔE 3.1
Deuteranopia
#1f206c · ΔE 3.9
Tritanopia
#22625f · ΔE 34.4
Achromatopsia
#2d2d2d · ΔE 26.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #221a7e;
bg-[#221a7e]
Related colors
Frequently asked questions
#221a7e (#221a7e) is rgb(34, 26, 126) in RGB.
No, #221a7e 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 #221a7e, or check how it holds up for accessibility.