HSL(217, 94%, 50%)
Vivid Blue — Blue color
Adjust Color
Color Information
Color Name
Vivid Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(217,94%,50%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(217, 94%, 50%) | color: hsl(217, 94%, 50%) | |
| HEX | #0864F7 | color: #0864F7 | |
| RGB | rgb(8, 100, 247) | color: rgb(8, 100, 247) | |
| CMYK | cmyk(97%, 60%, 0%, 3%) | — | |
| HSV | hsv(217, 97%, 97%) | — | |
| HWB | hwb(217 3% 3%) | color: hwb(217 3% 3%) | |
| OKLCH | oklch(0.5535 0.2328 260.97) | color: oklch(0.5535 0.2328 260.97) | |
| Lab | lab(46.81 33.61 -79.34) | color: lab(46.81 33.61 -79.34) | |
| LCH | lch(46.81 86.17 292.96) | color: lch(46.81 86.17 292.96) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#3031D3 — rgb(48, 49, 211)
Deuteranopia (Green-blind)
#2B24CB — rgb(43, 36, 203)
Tritanopia (Blue-blind)
#0DB7B1 — rgb(13, 183, 177)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(217, 94%, 50%);
text
color: hsl(217, 94%, 50%);
border
border: 2px solid hsl(217, 94%, 50%);
gradient light
background: linear-gradient(to right, hsl(217, 94%, 70%), hsl(217, 94%, 50%));
gradient dark
background: linear-gradient(to right, hsl(217, 94%, 50%), hsl(217, 94%, 30%))
hex
background-color: #0864F7;
tailwind
bg-[hsl(217,94%,50%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(217, 94%, 50%, 0.4);
css variable
--color-primary: hsl(217, 94%, 50%);
Related Colors
Use Cases for Vivid Blue
Frequently Asked Questions
What are all the color codes for HSL(217, 94%, 50%)?
HEX: #0864F7 | RGB: rgb(8, 100, 247) | CMYK: 97%, 60%, 0%, 3% | HSV: 217°, 97%, 97%. Copy any format from the conversion table above.
What colors go well with #0864F7?
The complementary color is HSL(37, 94%, 50%). 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, 94%, 50%) in CSS?
As HSL: color: hsl(217, 94%, 50%); — As HEX: color: #0864F7; — As RGB: color: rgb(8, 100, 247); — Tailwind CSS: bg-[hsl(217,94%,50%)] — CSS variable: --color-primary: hsl(217, 94%, 50%);