Color #1871a5
A vivid, highly saturated dark blue.
Conversions
#1871a5
rgb(24, 113, 165)
hsl(202.1, 74.6%, 37.1%)
hsv(202.1, 85.5%, 64.7%)
cmyk(85.5%, 31.5%, 0%, 35.3%)
lab(45.25, -5.92, -34.89)
lch(45.25, 35.39, 260.37)
oklch(52.5%, 0.1133, 240.97)
hwb(202.1, 9.4%, 35.3%)
Harmony colors
Accessibility
White text reads better on this background (5.32:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#4e4f9a · ΔE 18
Deuteranopia
#4a4398 · ΔE 20.9
Tritanopia
#23918f · ΔE 22.7
Achromatopsia
#6b6b6b · ΔE 19.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1871a5;
bg-[#1871a5]
Related colors
Frequently asked questions
#1871a5 (#1871a5) is rgb(24, 113, 165) in RGB.
No, #1871a5 is not web-safe. The nearest web-safe colors are among its tones and shades below.
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 #1871a5, or check how it holds up for accessibility.