HSL(221, 80%, 62%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(221,80%,62%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(221, 80%, 62%) | color: hsl(221, 80%, 62%) | |
| HEX | #5182EC | color: #5182EC | |
| RGB | rgb(81, 130, 236) | color: rgb(81, 130, 236) | |
| CMYK | cmyk(66%, 45%, 0%, 7%) | — | |
| HSV | hsv(221, 66%, 93%) | — | |
| HWB | hwb(221 32% 7%) | color: hwb(221 32% 7%) | |
| OKLCH | oklch(0.6252 0.1682 263.61) | color: oklch(0.6252 0.1682 263.61) | |
| Lab | lab(55.85 16.97 -58.47) | color: lab(55.85 16.97 -58.47) | |
| LCH | lch(55.85 60.88 286.18) | color: lch(55.85 60.88 286.18) |
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)
#6667D2 — rgb(102, 103, 210)
Deuteranopia (Green-blind)
#6360CC — rgb(99, 96, 204)
Tritanopia (Blue-blind)
#53BEBA — rgb(83, 190, 186)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(221, 80%, 62%);
text
color: hsl(221, 80%, 62%);
border
border: 2px solid hsl(221, 80%, 62%);
gradient light
background: linear-gradient(to right, hsl(221, 80%, 82%), hsl(221, 80%, 62%));
gradient dark
background: linear-gradient(to right, hsl(221, 80%, 62%), hsl(221, 80%, 42%))
hex
background-color: #5182EC;
tailwind
bg-[hsl(221,80%,62%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(221, 80%, 62%, 0.4);
css variable
--color-primary: hsl(221, 80%, 62%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(221, 80%, 62%)?
HEX: #5182EC | RGB: rgb(81, 130, 236) | CMYK: 66%, 45%, 0%, 7% | HSV: 221°, 66%, 93%. Copy any format from the conversion table above.
What colors go well with #5182EC?
The complementary color is HSL(41, 80%, 62%). 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, 80%, 62%) in CSS?
As HSL: color: hsl(221, 80%, 62%); — As HEX: color: #5182EC; — As RGB: color: rgb(81, 130, 236); — Tailwind CSS: bg-[hsl(221,80%,62%)] — CSS variable: --color-primary: hsl(221, 80%, 62%);