HSL(221, 99%, 66%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(221,99%,66%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(221, 99%, 66%) | color: hsl(221, 99%, 66%) | |
| HEX | #5289FE | color: #5289FE | |
| RGB | rgb(82, 137, 254) | color: rgb(82, 137, 254) | |
| CMYK | cmyk(68%, 46%, 0%, 0%) | — | |
| HSV | hsv(221, 68%, 100%) | — | |
| HWB | hwb(221 32% 0%) | color: hwb(221 32% 0%) | |
| OKLCH | oklch(0.6515 0.1836 263.28) | color: oklch(0.6515 0.1836 263.28) | |
| Lab | lab(58.82 19.08 -63.65) | color: lab(58.82 19.08 -63.65) | |
| LCH | lch(58.82 66.45 286.69) | color: lch(58.82 66.45 286.69) |
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)
#6A6AE2 — rgb(106, 106, 226)
Deuteranopia (Green-blind)
#6763DB — rgb(103, 99, 219)
Tritanopia (Blue-blind)
#55CBC6 — rgb(85, 203, 198)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(221, 99%, 66%);
text
color: hsl(221, 99%, 66%);
border
border: 2px solid hsl(221, 99%, 66%);
gradient light
background: linear-gradient(to right, hsl(221, 99%, 86%), hsl(221, 99%, 66%));
gradient dark
background: linear-gradient(to right, hsl(221, 99%, 66%), hsl(221, 99%, 46%))
hex
background-color: #5289FE;
tailwind
bg-[hsl(221,99%,66%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(221, 99%, 66%, 0.4);
css variable
--color-primary: hsl(221, 99%, 66%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(221, 99%, 66%)?
HEX: #5289FE | RGB: rgb(82, 137, 254) | CMYK: 68%, 46%, 0%, 0% | HSV: 221°, 68%, 100%. Copy any format from the conversion table above.
What colors go well with #5289FE?
The complementary color is HSL(41, 99%, 66%). 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, 99%, 66%) in CSS?
As HSL: color: hsl(221, 99%, 66%); — As HEX: color: #5289FE; — As RGB: color: rgb(82, 137, 254); — Tailwind CSS: bg-[hsl(221,99%,66%)] — CSS variable: --color-primary: hsl(221, 99%, 66%);