HSL(218, 85%, 64%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(218,85%,64%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(218, 85%, 64%) | color: hsl(218, 85%, 64%) | |
| HEX | #558EF1 | color: #558EF1 | |
| RGB | rgb(85, 142, 241) | color: rgb(85, 142, 241) | |
| CMYK | cmyk(65%, 41%, 0%, 5%) | — | |
| HSV | hsv(218, 65%, 95%) | — | |
| HWB | hwb(218 33% 5%) | color: hwb(218 33% 5%) | |
| OKLCH | oklch(0.655 0.1598 260.67) | color: oklch(0.655 0.1598 260.67) | |
| Lab | lab(59.55 12.09 -55.32) | color: lab(59.55 12.09 -55.32) | |
| LCH | lch(59.55 56.63 282.33) | color: lch(59.55 56.63 282.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)
#6E6ED9 — rgb(110, 110, 217)
Deuteranopia (Green-blind)
#6A66D3 — rgb(106, 102, 211)
Tritanopia (Blue-blind)
#58C6C2 — rgb(88, 198, 194)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(218, 85%, 64%);
text
color: hsl(218, 85%, 64%);
border
border: 2px solid hsl(218, 85%, 64%);
gradient light
background: linear-gradient(to right, hsl(218, 85%, 84%), hsl(218, 85%, 64%));
gradient dark
background: linear-gradient(to right, hsl(218, 85%, 64%), hsl(218, 85%, 44%))
hex
background-color: #558EF1;
tailwind
bg-[hsl(218,85%,64%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(218, 85%, 64%, 0.4);
css variable
--color-primary: hsl(218, 85%, 64%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(218, 85%, 64%)?
HEX: #558EF1 | RGB: rgb(85, 142, 241) | CMYK: 65%, 41%, 0%, 5% | HSV: 218°, 65%, 95%. Copy any format from the conversion table above.
What colors go well with #558EF1?
The complementary color is HSL(38, 85%, 64%). 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, 85%, 64%) in CSS?
As HSL: color: hsl(218, 85%, 64%); — As HEX: color: #558EF1; — As RGB: color: rgb(85, 142, 241); — Tailwind CSS: bg-[hsl(218,85%,64%)] — CSS variable: --color-primary: hsl(218, 85%, 64%);