Color #1a2f6f
A moderately saturated dark blue.
Conversions
#1a2f6f
rgb(26, 47, 111)
hsl(225.2, 62%, 26.9%)
hsv(225.2, 76.6%, 43.5%)
cmyk(76.6%, 57.7%, 0%, 56.5%)
lab(21.58, 16.33, -39.56)
lch(21.58, 42.8, 292.43)
oklch(33%, 0.1142, 266.39)
hwb(225.2, 10.2%, 56.5%)
Harmony colors
Accessibility
White text reads better on this background (12.5:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#252564 · ΔE 4.7
Deuteranopia
#232261 · ΔE 5.4
Tritanopia
#1b5a58 · ΔE 28.5
Achromatopsia
#343434 · ΔE 22.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1a2f6f;
bg-[#1a2f6f]
Related colors
Frequently asked questions
#1a2f6f (#1a2f6f) is rgb(26, 47, 111) in RGB.
No, #1a2f6f is not web-safe. The nearest web-safe colors are among its tones and shades below.
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 #1a2f6f, or check how it holds up for accessibility.