HSL(218, 40%, 71%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(218,40%,71%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(218, 40%, 71%) | color: hsl(218, 40%, 71%) | |
| HEX | #97ADD3 | color: #97ADD3 | |
| RGB | rgb(151, 173, 211) | color: rgb(151, 173, 211) | |
| CMYK | cmyk(28%, 18%, 0%, 17%) | — | |
| HSV | hsv(218, 28%, 83%) | — | |
| HWB | hwb(218 60% 17%) | color: hwb(218 60% 17%) | |
| OKLCH | oklch(0.7441 0.0604 261.31) | color: oklch(0.7441 0.0604 261.31) | |
| Lab | lab(70.29 1.05 -21.74) | color: lab(70.29 1.05 -21.74) | |
| LCH | lch(70.29 21.77 272.77) | color: lch(70.29 21.77 272.77) |
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)
#A1A1CA — rgb(161, 161, 202)
Deuteranopia (Green-blind)
#9F9EC8 — rgb(159, 158, 200)
Tritanopia (Blue-blind)
#98C3C1 — rgb(152, 195, 193)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(218, 40%, 71%);
text
color: hsl(218, 40%, 71%);
border
border: 2px solid hsl(218, 40%, 71%);
gradient light
background: linear-gradient(to right, hsl(218, 40%, 91%), hsl(218, 40%, 71%));
gradient dark
background: linear-gradient(to right, hsl(218, 40%, 71%), hsl(218, 40%, 51%))
hex
background-color: #97ADD3;
tailwind
bg-[hsl(218,40%,71%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(218, 40%, 71%, 0.4);
css variable
--color-primary: hsl(218, 40%, 71%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(218, 40%, 71%)?
HEX: #97ADD3 | RGB: rgb(151, 173, 211) | CMYK: 28%, 18%, 0%, 17% | HSV: 218°, 28%, 83%. Copy any format from the conversion table above.
What colors go well with #97ADD3?
The complementary color is HSL(38, 40%, 71%). For a triadic harmony, use hues 218°, 338°, and 98°. For analogous combinations, try hues 188° and 248°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(218, 40%, 71%) in CSS?
As HSL: color: hsl(218, 40%, 71%); — As HEX: color: #97ADD3; — As RGB: color: rgb(151, 173, 211); — Tailwind CSS: bg-[hsl(218,40%,71%)] — CSS variable: --color-primary: hsl(218, 40%, 71%);