HSL(229, 100%, 66%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(229,100%,66%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(229, 100%, 66%) | color: hsl(229, 100%, 66%) | |
| HEX | #5271FF | color: #5271FF | |
| RGB | rgb(82, 113, 255) | color: rgb(82, 113, 255) | |
| CMYK | cmyk(68%, 56%, 0%, 0%) | — | |
| HSV | hsv(229, 68%, 100%) | — | |
| HWB | hwb(229 32% 0%) | color: hwb(229 32% 0%) | |
| OKLCH | oklch(0.6057 0.2131 269.62) | color: oklch(0.6057 0.2131 269.62) | |
| Lab | lab(52.75 34.06 -74.01) | color: lab(52.75 34.06 -74.01) | |
| LCH | lch(52.75 81.47 294.71) | color: lch(52.75 81.47 294.71) |
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)
#5F60DD — rgb(95, 96, 221)
Deuteranopia (Green-blind)
#5E5BD4 — rgb(94, 91, 212)
Tritanopia (Blue-blind)
#54C2BC — rgb(84, 194, 188)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(229, 100%, 66%);
text
color: hsl(229, 100%, 66%);
border
border: 2px solid hsl(229, 100%, 66%);
gradient light
background: linear-gradient(to right, hsl(229, 100%, 86%), hsl(229, 100%, 66%));
gradient dark
background: linear-gradient(to right, hsl(229, 100%, 66%), hsl(229, 100%, 46%))
hex
background-color: #5271FF;
tailwind
bg-[hsl(229,100%,66%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(229, 100%, 66%, 0.4);
css variable
--color-primary: hsl(229, 100%, 66%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(229, 100%, 66%)?
HEX: #5271FF | RGB: rgb(82, 113, 255) | CMYK: 68%, 56%, 0%, 0% | HSV: 229°, 68%, 100%. Copy any format from the conversion table above.
What colors go well with #5271FF?
The complementary color is HSL(49, 100%, 66%). For a triadic harmony, use hues 229°, 349°, and 109°. For analogous combinations, try hues 199° and 259°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(229, 100%, 66%) in CSS?
As HSL: color: hsl(229, 100%, 66%); — As HEX: color: #5271FF; — As RGB: color: rgb(82, 113, 255); — Tailwind CSS: bg-[hsl(229,100%,66%)] — CSS variable: --color-primary: hsl(229, 100%, 66%);