Color #1a213d
A moderately saturated very dark blue.
Conversions
#1a213d
rgb(26, 33, 61)
hsl(228, 40.2%, 17.1%)
hsv(228, 57.4%, 23.9%)
cmyk(57.4%, 45.9%, 0%, 76.1%)
lab(13.5, 6.43, -18.98)
lch(13.5, 20.04, 288.72)
oklch(25.7%, 0.0537, 271.6)
hwb(228, 10.2%, 76.1%)
Harmony colors
Accessibility
White text reads better on this background (15.8:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1d1d38 · ΔE 2.8
Deuteranopia
#1d1c36 · ΔE 3.3
Tritanopia
#1a3332 · ΔE 20.3
Achromatopsia
#232323 · ΔE 14.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1a213d;
bg-[#1a213d]
Related colors
Frequently asked questions
#1a213d (#1a213d) is rgb(26, 33, 61) in RGB.
No, #1a213d 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 #1a213d, or check how it holds up for accessibility.