Color #1a1a28
A muted very dark blue.
Conversions
#1a1a28
rgb(26, 26, 40)
hsl(240, 21.2%, 12.9%)
hsv(240, 35%, 15.7%)
cmyk(35%, 35%, 0%, 84.3%)
lab(9.89, 4.13, -9.5)
lch(9.89, 10.36, 293.5)
oklch(22.5%, 0.0271, 284.09)
hwb(240, 10.2%, 84.3%)
Harmony colors
Accessibility
White text reads better on this background (17.18:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1a1a25 · ΔE 1.7
Deuteranopia
#1a1a24 · ΔE 2.3
Tritanopia
#1a2322 · ΔE 12.8
Achromatopsia
#1b1b1b · ΔE 9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1a1a28;
bg-[#1a1a28]
Related colors
Frequently asked questions
#1a1a28 (#1a1a28) is rgb(26, 26, 40) in RGB.
No, #1a1a28 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 #1a1a28, or check how it holds up for accessibility.