HSL(217, 86%, 54%)
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,86%,54%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(217, 86%, 54%) | color: hsl(217, 86%, 54%) | |
| HEX | #2572EF | color: #2572EF | |
| RGB | rgb(37, 114, 239) | color: rgb(37, 114, 239) | |
| CMYK | cmyk(85%, 52%, 0%, 6%) | — | |
| HSV | hsv(217, 85%, 94%) | — | |
| HWB | hwb(217 14% 6%) | color: hwb(217 14% 6%) | |
| OKLCH | oklch(0.579 0.2027 260.04) | color: oklch(0.579 0.2027 260.04) | |
| Lab | lab(50.28 22.93 -69.2) | color: lab(50.28 22.93 -69.2) | |
| LCH | lch(50.28 72.9 288.33) | color: lch(50.28 72.9 288.33) |
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)
#4647D1 — rgb(70, 71, 209)
Deuteranopia (Green-blind)
#423CCA — rgb(66, 60, 202)
Tritanopia (Blue-blind)
#29B9B4 — rgb(41, 185, 180)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(217, 86%, 54%);
text
color: hsl(217, 86%, 54%);
border
border: 2px solid hsl(217, 86%, 54%);
gradient light
background: linear-gradient(to right, hsl(217, 86%, 74%), hsl(217, 86%, 54%));
gradient dark
background: linear-gradient(to right, hsl(217, 86%, 54%), hsl(217, 86%, 34%))
hex
background-color: #2572EF;
tailwind
bg-[hsl(217,86%,54%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(217, 86%, 54%, 0.4);
css variable
--color-primary: hsl(217, 86%, 54%);
Related Colors
Use Cases for Vivid Blue
Frequently Asked Questions
What are all the color codes for HSL(217, 86%, 54%)?
HEX: #2572EF | RGB: rgb(37, 114, 239) | CMYK: 85%, 52%, 0%, 6% | HSV: 217°, 85%, 94%. Copy any format from the conversion table above.
What colors go well with #2572EF?
The complementary color is HSL(37, 86%, 54%). 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, 86%, 54%) in CSS?
As HSL: color: hsl(217, 86%, 54%); — As HEX: color: #2572EF; — As RGB: color: rgb(37, 114, 239); — Tailwind CSS: bg-[hsl(217,86%,54%)] — CSS variable: --color-primary: hsl(217, 86%, 54%);