Color #1a1b22
A nearly neutral, gray-leaning very dark blue.
Conversions
#1a1b22
rgb(26, 27, 34)
hsl(232.5, 13.3%, 11.8%)
hsv(232.5, 23.5%, 13.3%)
cmyk(23.5%, 20.6%, 0%, 86.7%)
lab(9.95, 1.49, -4.97)
lch(9.95, 5.19, 286.69)
oklch(22.4%, 0.0137, 278.84)
hwb(232.5, 10.2%, 86.7%)
Harmony colors
Accessibility
White text reads better on this background (17.16:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1a1a20 · ΔE 0.8
Deuteranopia
#1a1a20 · ΔE 0.8
Tritanopia
#1a1f1f · ΔE 6.4
Achromatopsia
#1b1b1b · ΔE 4.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1a1b22;
bg-[#1a1b22]
Related colors
Frequently asked questions
#1a1b22 (#1a1b22) is rgb(26, 27, 34) in RGB.
No, #1a1b22 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 #1a1b22, or check how it holds up for accessibility.