Color #21195a
A moderately saturated dark blue.
Conversions
#21195a
rgb(33, 25, 90)
hsl(247.4, 56.5%, 22.5%)
hsv(247.4, 72.2%, 35.3%)
cmyk(63.3%, 72.2%, 0%, 64.7%)
lab(14.15, 24.81, -37.83)
lch(14.15, 45.24, 303.26)
oklch(27.1%, 0.1112, 281.57)
hwb(247.4, 9.8%, 64.7%)
Harmony colors
Accessibility
White text reads better on this background (15.54:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1e1e50 · ΔE 3.6
Deuteranopia
#1e1f4d · ΔE 4.6
Tritanopia
#214744 · ΔE 28.4
Achromatopsia
#242424 · ΔE 23.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #21195a;
bg-[#21195a]
Related colors
Frequently asked questions
#21195a (#21195a) is rgb(33, 25, 90) in RGB.
No, #21195a 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 #21195a, or check how it holds up for accessibility.