Color #1a3162
A moderately saturated dark blue.
Conversions
#1a3162
rgb(26, 49, 98)
hsl(220.8, 58.1%, 24.3%)
hsv(220.8, 73.5%, 38.4%)
cmyk(73.5%, 50%, 0%, 61.6%)
lab(21.2, 9.55, -31.73)
lch(21.2, 33.14, 286.75)
oklch(32.4%, 0.0915, 263.29)
hwb(220.8, 10.2%, 61.6%)
Harmony colors
Accessibility
White text reads better on this background (12.65:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#262659 · ΔE 5.8
Deuteranopia
#242357 · ΔE 6.5
Tritanopia
#1c514f · ΔE 25.3
Achromatopsia
#333333 · ΔE 19.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1a3162;
bg-[#1a3162]
Related colors
Frequently asked questions
#1a3162 (#1a3162) is rgb(26, 49, 98) in RGB.
No, #1a3162 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 #1a3162, or check how it holds up for accessibility.