HSL(227, 40%, 73%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(227,40%,73%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(227, 40%, 73%) | color: hsl(227, 40%, 73%) | |
| HEX | #9FABD6 | color: #9FABD6 | |
| RGB | rgb(159, 171, 214) | color: rgb(159, 171, 214) | |
| CMYK | cmyk(26%, 20%, 0%, 16%) | — | |
| HSV | hsv(227, 26%, 84%) | — | |
| HWB | hwb(227 62% 16%) | color: hwb(227 62% 16%) | |
| OKLCH | oklch(0.7469 0.0636 272.62) | color: oklch(0.7469 0.0636 272.62) | |
| Lab | lab(70.42 5.27 -23.14) | color: lab(70.42 5.27 -23.14) | |
| LCH | lch(70.42 23.73 282.83) | color: lch(70.42 23.73 282.83) |
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)
#A4A4CC — rgb(164, 164, 204)
Deuteranopia (Green-blind)
#A4A3C9 — rgb(164, 163, 201)
Tritanopia (Blue-blind)
#A0C3C2 — rgb(160, 195, 194)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(227, 40%, 73%);
text
color: hsl(227, 40%, 73%);
border
border: 2px solid hsl(227, 40%, 73%);
gradient light
background: linear-gradient(to right, hsl(227, 40%, 93%), hsl(227, 40%, 73%));
gradient dark
background: linear-gradient(to right, hsl(227, 40%, 73%), hsl(227, 40%, 53%))
hex
background-color: #9FABD6;
tailwind
bg-[hsl(227,40%,73%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(227, 40%, 73%, 0.4);
css variable
--color-primary: hsl(227, 40%, 73%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(227, 40%, 73%)?
HEX: #9FABD6 | RGB: rgb(159, 171, 214) | CMYK: 26%, 20%, 0%, 16% | HSV: 227°, 26%, 84%. Copy any format from the conversion table above.
What colors go well with #9FABD6?
The complementary color is HSL(47, 40%, 73%). For a triadic harmony, use hues 227°, 347°, and 107°. For analogous combinations, try hues 197° and 257°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(227, 40%, 73%) in CSS?
As HSL: color: hsl(227, 40%, 73%); — As HEX: color: #9FABD6; — As RGB: color: rgb(159, 171, 214); — Tailwind CSS: bg-[hsl(227,40%,73%)] — CSS variable: --color-primary: hsl(227, 40%, 73%);