Color #020621
A vivid, highly saturated very dark blue.
Conversions
#020621
rgb(2, 6, 33)
hsl(232.3, 88.6%, 6.9%)
hsv(232.3, 93.9%, 12.9%)
cmyk(93.9%, 81.8%, 0%, 87.1%)
lab(2.28, 5.09, -16.08)
lch(2.28, 16.87, 287.56)
oklch(14%, 0.059, 266.89)
hwb(232.3, 0.8%, 87.1%)
Harmony colors
Accessibility
White text reads better on this background (19.99:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#04041d · ΔE 1.7
Deuteranopia
#04031b · ΔE 2.5
Tritanopia
#021818 · ΔE 16.9
Achromatopsia
#080808 · ΔE 12.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #020621;
bg-[#020621]
Related colors
Frequently asked questions
#020621 (#020621) is rgb(2, 6, 33) in RGB.
No, #020621 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 #020621, or check how it holds up for accessibility.