HSL(217, 79%, 71%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(217,79%,71%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(217, 79%, 71%) | color: hsl(217, 79%, 71%) | |
| HEX | #7BA7EF | color: #7BA7EF | |
| RGB | rgb(123, 167, 239) | color: rgb(123, 167, 239) | |
| CMYK | cmyk(49%, 30%, 0%, 6%) | — | |
| HSV | hsv(217, 49%, 94%) | — | |
| HWB | hwb(217 48% 6%) | color: hwb(217 48% 6%) | |
| OKLCH | oklch(0.726 0.1158 259.94) | color: oklch(0.726 0.1158 259.94) | |
| Lab | lab(68.08 4.52 -40.64) | color: lab(68.08 4.52 -40.64) | |
| LCH | lch(68.08 40.89 276.35) | color: lch(68.08 40.89 276.35) |
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)
#8E8EDE — rgb(142, 142, 222)
Deuteranopia (Green-blind)
#8C88D9 — rgb(140, 136, 217)
Tritanopia (Blue-blind)
#7DD0CD — rgb(125, 208, 205)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(217, 79%, 71%);
text
color: hsl(217, 79%, 71%);
border
border: 2px solid hsl(217, 79%, 71%);
gradient light
background: linear-gradient(to right, hsl(217, 79%, 91%), hsl(217, 79%, 71%));
gradient dark
background: linear-gradient(to right, hsl(217, 79%, 71%), hsl(217, 79%, 51%))
hex
background-color: #7BA7EF;
tailwind
bg-[hsl(217,79%,71%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(217, 79%, 71%, 0.4);
css variable
--color-primary: hsl(217, 79%, 71%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(217, 79%, 71%)?
HEX: #7BA7EF | RGB: rgb(123, 167, 239) | CMYK: 49%, 30%, 0%, 6% | HSV: 217°, 49%, 94%. Copy any format from the conversion table above.
What colors go well with #7BA7EF?
The complementary color is HSL(37, 79%, 71%). For a triadic harmony, use hues 217°, 337°, and 97°. For analogous combinations, try hues 187° and 247°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(217, 79%, 71%) in CSS?
As HSL: color: hsl(217, 79%, 71%); — As HEX: color: #7BA7EF; — As RGB: color: rgb(123, 167, 239); — Tailwind CSS: bg-[hsl(217,79%,71%)] — CSS variable: --color-primary: hsl(217, 79%, 71%);