HSL(221, 67%, 50%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(221,67%,50%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(221, 67%, 50%) | color: hsl(221, 67%, 50%) | |
| HEX | #2A60D5 | color: #2A60D5 | |
| RGB | rgb(42, 96, 213) | color: rgb(42, 96, 213) | |
| CMYK | cmyk(80%, 55%, 0%, 16%) | — | |
| HSV | hsv(221, 80%, 84%) | — | |
| HWB | hwb(221 17% 16%) | color: hwb(221 17% 16%) | |
| OKLCH | oklch(0.5238 0.1894 262.92) | color: oklch(0.5238 0.1894 262.92) | |
| Lab | lab(43.74 25 -65.12) | color: lab(43.74 25 -65.12) | |
| LCH | lch(43.74 69.75 291) | color: lch(43.74 69.75 291) |
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)
#4142B9 — rgb(65, 66, 185)
Deuteranopia (Green-blind)
#3E3AB2 — rgb(62, 58, 178)
Tritanopia (Blue-blind)
#2DA29D — rgb(45, 162, 157)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(221, 67%, 50%);
text
color: hsl(221, 67%, 50%);
border
border: 2px solid hsl(221, 67%, 50%);
gradient light
background: linear-gradient(to right, hsl(221, 67%, 70%), hsl(221, 67%, 50%));
gradient dark
background: linear-gradient(to right, hsl(221, 67%, 50%), hsl(221, 67%, 30%))
hex
background-color: #2A60D5;
tailwind
bg-[hsl(221,67%,50%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(221, 67%, 50%, 0.4);
css variable
--color-primary: hsl(221, 67%, 50%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(221, 67%, 50%)?
HEX: #2A60D5 | RGB: rgb(42, 96, 213) | CMYK: 80%, 55%, 0%, 16% | HSV: 221°, 80%, 84%. Copy any format from the conversion table above.
What colors go well with #2A60D5?
The complementary color is HSL(41, 67%, 50%). For a triadic harmony, use hues 221°, 341°, and 101°. For analogous combinations, try hues 191° and 251°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(221, 67%, 50%) in CSS?
As HSL: color: hsl(221, 67%, 50%); — As HEX: color: #2A60D5; — As RGB: color: rgb(42, 96, 213); — Tailwind CSS: bg-[hsl(221,67%,50%)] — CSS variable: --color-primary: hsl(221, 67%, 50%);