HSL(212, 67%, 49%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(212,67%,49%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(212, 67%, 49%) | color: hsl(212, 67%, 49%) | |
| HEX | #2977D1 | color: #2977D1 | |
| RGB | rgb(41, 119, 209) | color: rgb(41, 119, 209) | |
| CMYK | cmyk(80%, 43%, 0%, 18%) | — | |
| HSV | hsv(212, 80%, 82%) | — | |
| HWB | hwb(212 16% 18%) | color: hwb(212 16% 18%) | |
| OKLCH | oklch(0.5695 0.1575 254.79) | color: oklch(0.5695 0.1575 254.79) | |
| Lab | lab(49.82 8.74 -53.03) | color: lab(49.82 8.74 -53.03) | |
| LCH | lch(49.82 53.75 279.36) | color: lch(49.82 53.75 279.36) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#4B4BBB — rgb(75, 75, 187)
Deuteranopia (Green-blind)
#4640B6 — rgb(70, 64, 182)
Tritanopia (Blue-blind)
#2DAAA6 — rgb(45, 170, 166)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(212, 67%, 49%);
text
color: hsl(212, 67%, 49%);
border
border: 2px solid hsl(212, 67%, 49%);
gradient light
background: linear-gradient(to right, hsl(212, 67%, 69%), hsl(212, 67%, 49%));
gradient dark
background: linear-gradient(to right, hsl(212, 67%, 49%), hsl(212, 67%, 29%))
hex
background-color: #2977D1;
tailwind
bg-[hsl(212,67%,49%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(212, 67%, 49%, 0.4);
css variable
--color-primary: hsl(212, 67%, 49%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(212, 67%, 49%)?
HEX: #2977D1 | RGB: rgb(41, 119, 209) | CMYK: 80%, 43%, 0%, 18% | HSV: 212°, 80%, 82%. Copy any format from the conversion table above.
What colors go well with #2977D1?
The complementary color is HSL(32, 67%, 49%). For a triadic harmony, use hues 212°, 332°, and 92°. For analogous combinations, try hues 182° and 242°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(212, 67%, 49%) in CSS?
As HSL: color: hsl(212, 67%, 49%); — As HEX: color: #2977D1; — As RGB: color: rgb(41, 119, 209); — Tailwind CSS: bg-[hsl(212,67%,49%)] — CSS variable: --color-primary: hsl(212, 67%, 49%);