Hex Color Code #402CD0 — RGB & HSL Conversions
How to use the #402CD0 color code in HTML & CSS?
For developers, implementing the #402CD0 color code involves declaring it in your styles. In stylesheet designs, use color: #402CD0; for text alignment. If you are developing with utility-first layouts, you can invoke it in Tailwind as text-[#402CD0] or custom configure it in your theme files.
What are the RGB and HSL conversion values for #402CD0?
The RGB code for #402CD0 is computed as rgb(64, 44, 208). Web designers using HSL values will find it at a hue of 247°, saturation of 65%, and lightness index of 49%, representing a balanced, moderate saturation.
CMYK print code settings for #402CD0
For print design setups, the CMYK values for the #402CD0 color code are Cyan: 69%, Magenta: 79%, Yellow: 0%, and Black: 18%. In digital designs, blue coordinates like this are highly favored by technical and corporate platforms to foster user trust, stability, and clean readability.
HEX #402CD0 Color Space Conversions
Click to copy formatContrast & Accessibility (WCAG 2.1) Check
White text readability test with #402CD0
Small body copy preview
Black text readability test with #402CD0
Small body copy preview
Complementary & Analogous Harmonies
Perfect matching color schemes for your designsShades & Tints Generator Matrix
Copy shade hex values instantlyDarker Shades (Adding Black)
Lighter Tints (Adding White)
CSS Custom Properties (Variables)
--color-hex: #402CD0;
--color-rgb: rgb(64, 44, 208);
--color-hsl: hsl(247deg, 65%, 49%);