Color #1a2139
A muted very dark blue.
Conversions
#1a2139
rgb(26, 33, 57)
hsl(226.5, 37.3%, 16.3%)
hsv(226.5, 54.4%, 22.4%)
cmyk(54.4%, 42.1%, 0%, 77.6%)
lab(13.25, 4.91, -16.55)
lch(13.25, 17.26, 286.52)
oklch(25.4%, 0.0466, 270.49)
hwb(226.5, 10.2%, 77.6%)
Harmony colors
Accessibility
White text reads better on this background (15.9:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1d1d34 · ΔE 3.1
Deuteranopia
#1d1c33 · ΔE 3.6
Tritanopia
#1a302f · ΔE 18.3
Achromatopsia
#222222 · ΔE 12.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1a2139;
bg-[#1a2139]
Related colors
Frequently asked questions
#1a2139 (#1a2139) is rgb(26, 33, 57) in RGB.
No, #1a2139 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
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 #1a2139, or check how it holds up for accessibility.