Color #2a00a5
A vivid, highly saturated dark blue.
Conversions
#2a00a5
rgb(42, 0, 165)
hsl(255.3, 100%, 32.4%)
hsv(255.3, 100%, 64.7%)
cmyk(74.5%, 100%, 0%, 35.3%)
lab(20.86, 57.89, -74.49)
lch(20.86, 94.34, 307.85)
oklch(34.5%, 0.2159, 275.53)
hwb(255.3, 0%, 35.3%)
Harmony colors
Accessibility
White text reads better on this background (12.79:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1e1e91 · ΔE 5
Deuteranopia
#20228c · ΔE 6.2
Tritanopia
#297f7b · ΔE 42.1
Achromatopsia
#323232 · ΔE 30.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a00a5;
bg-[#2a00a5]
Related colors
Frequently asked questions
#2a00a5 (#2a00a5) is rgb(42, 0, 165) in RGB.
No, #2a00a5 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 #2a00a5, or check how it holds up for accessibility.