Color #1a2d5a
A moderately saturated dark blue.
Conversions
#1a2d5a
rgb(26, 45, 90)
hsl(222.2, 55.2%, 22.7%)
hsv(222.2, 71.1%, 35.3%)
cmyk(71.1%, 50%, 0%, 64.7%)
lab(19.37, 9.16, -29.4)
lch(19.37, 30.79, 287.31)
oklch(30.8%, 0.0845, 264.7)
hwb(222.2, 10.2%, 64.7%)
Harmony colors
Accessibility
White text reads better on this background (13.4:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#232452 · ΔE 4.9
Deuteranopia
#222150 · ΔE 5.7
Tritanopia
#1b4a49 · ΔE 24.3
Achromatopsia
#2f2f2f · ΔE 18.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1a2d5a;
bg-[#1a2d5a]
Related colors
Frequently asked questions
#1a2d5a (#1a2d5a) is rgb(26, 45, 90) in RGB.
No, #1a2d5a 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 #1a2d5a, or check how it holds up for accessibility.