Color #221259
A moderately saturated dark blue.
Conversions
#221259
rgb(34, 18, 89)
hsl(253.5, 66.4%, 21%)
hsv(253.5, 79.8%, 34.9%)
cmyk(61.8%, 79.8%, 0%, 65.1%)
lab(12.57, 29.02, -39.75)
lch(12.57, 49.22, 306.13)
oklch(25.9%, 0.1185, 284.92)
hwb(253.5, 7.1%, 65.1%)
Harmony colors
Accessibility
White text reads better on this background (16.17:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1c1c4f · ΔE 5
Deuteranopia
#1d1e4c · ΔE 6.2
Tritanopia
#214543 · ΔE 28.1
Achromatopsia
#212121 · ΔE 24
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #221259;
bg-[#221259]
Related colors
Frequently asked questions
#221259 (#221259) is rgb(34, 18, 89) in RGB.
No, #221259 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 #221259, or check how it holds up for accessibility.