Color #020306
A moderately saturated very dark blue.
Conversions
#020306
rgb(2, 3, 6)
hsl(225, 50%, 1.6%)
hsv(225, 66.7%, 2.4%)
cmyk(66.7%, 50%, 0%, 97.6%)
lab(0.82, 0.16, -1.23)
lch(0.82, 1.24, 277.41)
oklch(9.7%, 0.0125, 264.97)
hwb(225, 0.8%, 97.6%)
Harmony colors
Accessibility
White text reads better on this background (20.62:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#020205 · ΔE 0.4
Deuteranopia
#020205 · ΔE 0.4
Tritanopia
#020505 · ΔE 1.7
Achromatopsia
#030303 · ΔE 1.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #020306;
bg-[#020306]
Related colors
Frequently asked questions
#020306 (#020306) is rgb(2, 3, 6) in RGB.
No, #020306 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 #020306, or check how it holds up for accessibility.