Color #1a2f61
A moderately saturated dark blue.
Conversions
#1a2f61
rgb(26, 47, 97)
hsl(222.3, 57.7%, 24.1%)
hsv(222.3, 73.2%, 38%)
cmyk(73.2%, 51.5%, 0%, 62%)
lab(20.5, 10.58, -32.2)
lch(20.5, 33.89, 288.19)
oklch(31.8%, 0.0927, 264.55)
hwb(222.3, 10.2%, 62%)
Harmony colors
Accessibility
White text reads better on this background (12.94:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#252558 · ΔE 5.3
Deuteranopia
#232256 · ΔE 5.9
Tritanopia
#1b504e · ΔE 25.7
Achromatopsia
#313131 · ΔE 19.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1a2f61;
bg-[#1a2f61]
Related colors
Frequently asked questions
#1a2f61 (#1a2f61) is rgb(26, 47, 97) in RGB.
No, #1a2f61 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 #1a2f61, or check how it holds up for accessibility.