Color #1a3f76
A moderately saturated dark blue.
Conversions
#1a3f76
rgb(26, 63, 118)
hsl(215.9, 63.9%, 28.2%)
hsv(215.9, 78%, 46.3%)
cmyk(78%, 46.6%, 0%, 53.7%)
lab(26.97, 7.87, -35.33)
lch(26.97, 36.2, 282.56)
oklch(37.3%, 0.1033, 258.39)
hwb(215.9, 10.2%, 53.7%)
Harmony colors
Accessibility
White text reads better on this background (10.41:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2e2e6c · ΔE 8.5
Deuteranopia
#2c2969 · ΔE 9.8
Tritanopia
#1d6361 · ΔE 26
Achromatopsia
#404040 · ΔE 20.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1a3f76;
bg-[#1a3f76]
Related colors
Frequently asked questions
#1a3f76 (#1a3f76) is rgb(26, 63, 118) in RGB.
No, #1a3f76 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 #1a3f76, or check how it holds up for accessibility.