Color #1a1a2f
A muted very dark blue.
Conversions
#1a1a2f
rgb(26, 26, 47)
hsl(240, 28.8%, 14.3%)
hsv(240, 44.7%, 18.4%)
cmyk(44.7%, 44.7%, 0%, 81.6%)
lab(10.29, 6.53, -14.02)
lch(10.29, 15.47, 294.97)
oklch(22.9%, 0.0403, 282.76)
hwb(240, 10.2%, 81.6%)
Harmony colors
Accessibility
White text reads better on this background (17.04:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1a1a2b · ΔE 1.9
Deuteranopia
#1a1a2a · ΔE 2.4
Tritanopia
#1a2726 · ΔE 17.1
Achromatopsia
#1c1c1c · ΔE 12.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1a1a2f;
bg-[#1a1a2f]
Related colors
Frequently asked questions
#1a1a2f (#1a1a2f) is rgb(26, 26, 47) in RGB.
No, #1a1a2f 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 #1a1a2f, or check how it holds up for accessibility.