Color #12007f
A vivid, highly saturated dark blue.
Conversions
#12007f
rgb(18, 0, 127)
hsl(248.5, 100%, 24.9%)
hsv(248.5, 100%, 49.8%)
cmyk(85.8%, 100%, 0%, 50.2%)
lab(13.59, 47.5, -63.01)
lch(13.59, 78.91, 307.01)
oklch(27.7%, 0.1819, 269.81)
hwb(248.5, 0%, 50.2%)
Harmony colors
Accessibility
White text reads better on this background (15.76:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#0b0b70 · ΔE 3
Deuteranopia
#0c0e6c · ΔE 3.9
Tritanopia
#11615e · ΔE 37.4
Achromatopsia
#232323 · ΔE 28.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #12007f;
bg-[#12007f]
Related colors
Frequently asked questions
#12007f (#12007f) is rgb(18, 0, 127) in RGB.
No, #12007f 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 #12007f, or check how it holds up for accessibility.