Color #1a1827
A muted very dark blue.
Conversions
#1a1827
rgb(26, 24, 39)
hsl(248, 23.8%, 12.4%)
hsv(248, 38.5%, 15.3%)
cmyk(33.3%, 38.5%, 0%, 84.7%)
lab(9.15, 5.33, -9.9)
lch(9.15, 11.24, 298.3)
oklch(21.9%, 0.0291, 289.87)
hwb(248, 9.4%, 84.7%)
Harmony colors
Accessibility
White text reads better on this background (17.44:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#191924 · ΔE 2.7
Deuteranopia
#191923 · ΔE 3.3
Tritanopia
#1a2121 · ΔE 12.7
Achromatopsia
#1a1a1a · ΔE 9.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1a1827;
bg-[#1a1827]
Related colors
Frequently asked questions
#1a1827 (#1a1827) is rgb(26, 24, 39) in RGB.
No, #1a1827 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 #1a1827, or check how it holds up for accessibility.