HSL(217, 67%, 70%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(217,67%,70%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(217, 67%, 70%) | color: hsl(217, 67%, 70%) | |
| HEX | #7FA7E6 | color: #7FA7E6 | |
| RGB | rgb(127, 167, 230) | color: rgb(127, 167, 230) | |
| CMYK | cmyk(45%, 27%, 0%, 10%) | — | |
| HSV | hsv(217, 45%, 90%) | — | |
| HWB | hwb(217 50% 10%) | color: hwb(217 50% 10%) | |
| OKLCH | oklch(0.7241 0.1022 259.26) | color: oklch(0.7241 0.1022 259.26) | |
| Lab | lab(67.92 2.87 -35.95) | color: lab(67.92 2.87 -35.95) | |
| LCH | lch(67.92 36.06 274.56) | color: lch(67.92 36.06 274.56) |
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)
#9091D7 — rgb(144, 145, 215)
Deuteranopia (Green-blind)
#8E8BD3 — rgb(142, 139, 211)
Tritanopia (Blue-blind)
#81CBC8 — rgb(129, 203, 200)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(217, 67%, 70%);
text
color: hsl(217, 67%, 70%);
border
border: 2px solid hsl(217, 67%, 70%);
gradient light
background: linear-gradient(to right, hsl(217, 67%, 90%), hsl(217, 67%, 70%));
gradient dark
background: linear-gradient(to right, hsl(217, 67%, 70%), hsl(217, 67%, 50%))
hex
background-color: #7FA7E6;
tailwind
bg-[hsl(217,67%,70%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(217, 67%, 70%, 0.4);
css variable
--color-primary: hsl(217, 67%, 70%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(217, 67%, 70%)?
HEX: #7FA7E6 | RGB: rgb(127, 167, 230) | CMYK: 45%, 27%, 0%, 10% | HSV: 217°, 45%, 90%. Copy any format from the conversion table above.
What colors go well with #7FA7E6?
The complementary color is HSL(37, 67%, 70%). 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, 67%, 70%) in CSS?
As HSL: color: hsl(217, 67%, 70%); — As HEX: color: #7FA7E6; — As RGB: color: rgb(127, 167, 230); — Tailwind CSS: bg-[hsl(217,67%,70%)] — CSS variable: --color-primary: hsl(217, 67%, 70%);