Color #1a1a6c
A moderately saturated dark blue.
Conversions
#1a1a6c
rgb(26, 26, 108)
hsl(240, 61.2%, 26.3%)
hsv(240, 75.9%, 42.4%)
cmyk(75.9%, 75.9%, 0%, 57.6%)
lab(15.7, 29.73, -47.23)
lch(15.7, 55.81, 302.19)
oklch(28.6%, 0.1369, 273.52)
hwb(240, 10.2%, 57.6%)
Harmony colors
Accessibility
White text reads better on this background (14.91:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1a1a60 · ΔE 2.2
Deuteranopia
#1a1a5c · ΔE 3
Tritanopia
#1a5452 · ΔE 31.3
Achromatopsia
#272727 · ΔE 25
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1a1a6c;
bg-[#1a1a6c]
Related colors
Frequently asked questions
#1a1a6c (#1a1a6c) is rgb(26, 26, 108) in RGB.
No, #1a1a6c 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 #1a1a6c, or check how it holds up for accessibility.