HSL(219, 72%, 52%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(219,72%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(219, 72%, 52%) | color: hsl(219, 72%, 52%) | |
| HEX | #2C6ADD | color: #2C6ADD | |
| RGB | rgb(44, 106, 221) | color: rgb(44, 106, 221) | |
| CMYK | cmyk(80%, 52%, 0%, 13%) | — | |
| HSV | hsv(219, 80%, 87%) | — | |
| HWB | hwb(219 17% 13%) | color: hwb(219 17% 13%) | |
| OKLCH | oklch(0.551 0.1874 261.38) | color: oklch(0.551 0.1874 261.38) | |
| Lab | lab(47.06 21.78 -64.29) | color: lab(47.06 21.78 -64.29) | |
| LCH | lch(47.06 67.88 288.72) | color: lch(47.06 67.88 288.72) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: white
Color Blindness Simulation
Protanopia (Red-blind)
#4747C1 — rgb(71, 71, 193)
Deuteranopia (Green-blind)
#433FBB — rgb(67, 63, 187)
Tritanopia (Blue-blind)
#2FABA6 — rgb(47, 171, 166)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(219, 72%, 52%);
text
color: hsl(219, 72%, 52%);
border
border: 2px solid hsl(219, 72%, 52%);
gradient light
background: linear-gradient(to right, hsl(219, 72%, 72%), hsl(219, 72%, 52%));
gradient dark
background: linear-gradient(to right, hsl(219, 72%, 52%), hsl(219, 72%, 32%))
hex
background-color: #2C6ADD;
tailwind
bg-[hsl(219,72%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(219, 72%, 52%, 0.4);
css variable
--color-primary: hsl(219, 72%, 52%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(219, 72%, 52%)?
HEX: #2C6ADD | RGB: rgb(44, 106, 221) | CMYK: 80%, 52%, 0%, 13% | HSV: 219°, 80%, 87%. Copy any format from the conversion table above.
What colors go well with #2C6ADD?
The complementary color is HSL(39, 72%, 52%). For a triadic harmony, use hues 219°, 339°, and 99°. For analogous combinations, try hues 189° and 249°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(219, 72%, 52%) in CSS?
As HSL: color: hsl(219, 72%, 52%); — As HEX: color: #2C6ADD; — As RGB: color: rgb(44, 106, 221); — Tailwind CSS: bg-[hsl(219,72%,52%)] — CSS variable: --color-primary: hsl(219, 72%, 52%);