HSL(215, 78%, 63%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(215,78%,63%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(215, 78%, 63%) | color: hsl(215, 78%, 63%) | |
| HEX | #5794EA | color: #5794EA | |
| RGB | rgb(87, 148, 234) | color: rgb(87, 148, 234) | |
| CMYK | cmyk(63%, 37%, 0%, 8%) | — | |
| HSV | hsv(215, 63%, 92%) | — | |
| HWB | hwb(215 34% 8%) | color: hwb(215 34% 8%) | |
| OKLCH | oklch(0.6646 0.1435 257.22) | color: oklch(0.6646 0.1435 257.22) | |
| Lab | lab(60.91 6.52 -49.29) | color: lab(60.91 6.52 -49.29) | |
| LCH | lch(60.91 49.72 277.54) | color: lch(60.91 49.72 277.54) |
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)
#7172D5 — rgb(113, 114, 213)
Deuteranopia (Green-blind)
#6E69D0 — rgb(110, 105, 208)
Tritanopia (Blue-blind)
#5AC5C1 — rgb(90, 197, 193)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(215, 78%, 63%);
text
color: hsl(215, 78%, 63%);
border
border: 2px solid hsl(215, 78%, 63%);
gradient light
background: linear-gradient(to right, hsl(215, 78%, 83%), hsl(215, 78%, 63%));
gradient dark
background: linear-gradient(to right, hsl(215, 78%, 63%), hsl(215, 78%, 43%))
hex
background-color: #5794EA;
tailwind
bg-[hsl(215,78%,63%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(215, 78%, 63%, 0.4);
css variable
--color-primary: hsl(215, 78%, 63%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(215, 78%, 63%)?
HEX: #5794EA | RGB: rgb(87, 148, 234) | CMYK: 63%, 37%, 0%, 8% | HSV: 215°, 63%, 92%. Copy any format from the conversion table above.
What colors go well with #5794EA?
The complementary color is HSL(35, 78%, 63%). For a triadic harmony, use hues 215°, 335°, and 95°. For analogous combinations, try hues 185° and 245°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(215, 78%, 63%) in CSS?
As HSL: color: hsl(215, 78%, 63%); — As HEX: color: #5794EA; — As RGB: color: rgb(87, 148, 234); — Tailwind CSS: bg-[hsl(215,78%,63%)] — CSS variable: --color-primary: hsl(215, 78%, 63%);