Color #2700a1
A vivid, highly saturated dark blue.
Conversions
#2700a1
rgb(39, 0, 161)
hsl(254.5, 100%, 31.6%)
hsv(254.5, 100%, 63.1%)
cmyk(75.8%, 100%, 0%, 36.9%)
lab(20.06, 56.79, -73.39)
lch(20.06, 92.8, 307.73)
oklch(33.8%, 0.2124, 274.81)
hwb(254.5, 0%, 36.9%)
Harmony colors
Accessibility
White text reads better on this background (13.12:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1c1c8e · ΔE 4.7
Deuteranopia
#1e2089 · ΔE 5.9
Tritanopia
#267c78 · ΔE 41.7
Achromatopsia
#303030 · ΔE 30.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2700a1;
bg-[#2700a1]
Related colors
Frequently asked questions
#2700a1 (#2700a1) is rgb(39, 0, 161) in RGB.
No, #2700a1 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 #2700a1, or check how it holds up for accessibility.