Color #20236d
A moderately saturated dark blue.
Conversions
#20236d
rgb(32, 35, 109)
hsl(237.7, 54.6%, 27.6%)
hsv(237.7, 70.6%, 42.7%)
cmyk(70.6%, 67.9%, 0%, 57.3%)
lab(18.42, 24.91, -43.39)
lch(18.42, 50.03, 299.86)
oklch(30.7%, 0.1256, 274.38)
hwb(237.7, 12.5%, 57.3%)
Harmony colors
Accessibility
White text reads better on this background (13.79:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#212161 · ΔE 2.2
Deuteranopia
#21215e · ΔE 2.8
Tritanopia
#205654 · ΔE 29.9
Achromatopsia
#2d2d2d · ΔE 24
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #20236d;
bg-[#20236d]
Related colors
Frequently asked questions
#20236d (#20236d) is rgb(32, 35, 109) in RGB.
No, #20236d 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 #20236d, or check how it holds up for accessibility.