Color #1a2a40
A moderately saturated very dark blue.
Conversions
#1a2a40
rgb(26, 42, 64)
hsl(214.7, 42.2%, 17.6%)
hsv(214.7, 59.4%, 25.1%)
cmyk(59.4%, 34.4%, 0%, 74.9%)
lab(16.73, 0.98, -15.99)
lch(16.73, 16.02, 273.51)
oklch(28.2%, 0.0462, 256.6)
hwb(214.7, 10.2%, 74.9%)
Harmony colors
Accessibility
White text reads better on this background (14.49:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#22223c · ΔE 7.8
Deuteranopia
#21203a · ΔE 8.4
Tritanopia
#1b3837 · ΔE 16.2
Achromatopsia
#292929 · ΔE 11.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1a2a40;
bg-[#1a2a40]
Related colors
Frequently asked questions
#1a2a40 (#1a2a40) is rgb(26, 42, 64) in RGB.
No, #1a2a40 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 #1a2a40, or check how it holds up for accessibility.