HSL(229, 89%, 80%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(229,89%,80%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(229, 89%, 80%) | color: hsl(229, 89%, 80%) | |
| HEX | #9FAFF9 | color: #9FAFF9 | |
| RGB | rgb(159, 175, 249) | color: rgb(159, 175, 249) | |
| CMYK | cmyk(36%, 30%, 0%, 2%) | — | |
| HSV | hsv(229, 36%, 98%) | — | |
| HWB | hwb(229 63% 2%) | color: hwb(229 63% 2%) | |
| OKLCH | oklch(0.7698 0.1077 274.25) | color: oklch(0.7698 0.1077 274.25) | |
| Lab | lab(72.81 11.83 -38.53) | color: lab(72.81 11.83 -38.53) | |
| LCH | lch(72.81 40.31 287.07) | color: lch(72.81 40.31 287.07) |
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)
#A6A6E7 — rgb(166, 166, 231)
Deuteranopia (Green-blind)
#A5A4E3 — rgb(165, 164, 227)
Tritanopia (Blue-blind)
#A0D9D6 — rgb(160, 217, 214)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(229, 89%, 80%);
text
color: hsl(229, 89%, 80%);
border
border: 2px solid hsl(229, 89%, 80%);
gradient light
background: linear-gradient(to right, hsl(229, 89%, 100%), hsl(229, 89%, 80%));
gradient dark
background: linear-gradient(to right, hsl(229, 89%, 80%), hsl(229, 89%, 60%))
hex
background-color: #9FAFF9;
tailwind
bg-[hsl(229,89%,80%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(229, 89%, 80%, 0.4);
css variable
--color-primary: hsl(229, 89%, 80%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(229, 89%, 80%)?
HEX: #9FAFF9 | RGB: rgb(159, 175, 249) | CMYK: 36%, 30%, 0%, 2% | HSV: 229°, 36%, 98%. Copy any format from the conversion table above.
What colors go well with #9FAFF9?
The complementary color is HSL(49, 89%, 80%). 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, 89%, 80%) in CSS?
As HSL: color: hsl(229, 89%, 80%); — As HEX: color: #9FAFF9; — As RGB: color: rgb(159, 175, 249); — Tailwind CSS: bg-[hsl(229,89%,80%)] — CSS variable: --color-primary: hsl(229, 89%, 80%);