Color #1a2e4d
A moderately saturated dark blue.
Conversions
#1a2e4d
rgb(26, 46, 77)
hsl(216.5, 49.5%, 20.2%)
hsv(216.5, 66.2%, 30.2%)
cmyk(66.2%, 40.3%, 0%, 69.8%)
lab(18.84, 3.18, -21.54)
lch(18.84, 21.77, 278.4)
oklch(30.1%, 0.0623, 258.89)
hwb(216.5, 10.2%, 69.8%)
Harmony colors
Accessibility
White text reads better on this background (13.62:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#242447 · ΔE 7.2
Deuteranopia
#232145 · ΔE 8.1
Tritanopia
#1b4240 · ΔE 20.5
Achromatopsia
#2e2e2e · ΔE 14.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1a2e4d;
bg-[#1a2e4d]
Related colors
Frequently asked questions
#1a2e4d (#1a2e4d) is rgb(26, 46, 77) in RGB.
No, #1a2e4d 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 #1a2e4d, or check how it holds up for accessibility.