Color #1a1931
A muted very dark blue.
Conversions
#1a1931
rgb(26, 25, 49)
hsl(242.5, 32.4%, 14.5%)
hsv(242.5, 49%, 19.2%)
cmyk(46.9%, 49%, 0%, 80.8%)
lab(10.08, 8, -15.8)
lch(10.08, 17.71, 296.85)
oklch(22.8%, 0.0459, 284.01)
hwb(242.5, 9.8%, 80.8%)
Harmony colors
Accessibility
White text reads better on this background (17.11:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1a1a2c · ΔE 2.9
Deuteranopia
#1a1a2b · ΔE 3.4
Tritanopia
#1a2827 · ΔE 18.7
Achromatopsia
#1c1c1c · ΔE 13.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1a1931;
bg-[#1a1931]
Related colors
Frequently asked questions
#1a1931 (#1a1931) is rgb(26, 25, 49) in RGB.
No, #1a1931 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 #1a1931, or check how it holds up for accessibility.