Color #1a0f4a
A moderately saturated very dark blue.
Conversions
#1a0f4a
rgb(26, 15, 74)
hsl(251.2, 66.3%, 17.5%)
hsv(251.2, 79.7%, 29%)
cmyk(64.9%, 79.7%, 0%, 71%)
lab(9.45, 24.39, -34.63)
lch(9.45, 42.36, 305.16)
oklch(23%, 0.1026, 283.36)
hwb(251.2, 5.9%, 71%)
Harmony colors
Accessibility
White text reads better on this background (17.34:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#161641 · ΔE 4.3
Deuteranopia
#16173f · ΔE 5.2
Tritanopia
#1a3937 · ΔE 26.8
Achromatopsia
#1a1a1a · ΔE 22.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1a0f4a;
bg-[#1a0f4a]
Related colors
Frequently asked questions
#1a0f4a (#1a0f4a) is rgb(26, 15, 74) in RGB.
No, #1a0f4a 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 #1a0f4a, or check how it holds up for accessibility.