HSL(213, 65%, 60%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(213,65%,60%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(213, 65%, 60%) | color: hsl(213, 65%, 60%) | |
| HEX | #5792DB | color: #5792DB | |
| RGB | rgb(87, 146, 219) | color: rgb(87, 146, 219) | |
| CMYK | cmyk(60%, 33%, 0%, 14%) | — | |
| HSV | hsv(213, 60%, 86%) | — | |
| HWB | hwb(213 34% 14%) | color: hwb(213 34% 14%) | |
| OKLCH | oklch(0.6521 0.1261 254.64) | color: oklch(0.6521 0.1261 254.64) | |
| Lab | lab(59.61 2.73 -43.01) | color: lab(59.61 2.73 -43.01) | |
| LCH | lch(59.61 43.1 273.63) | color: lch(59.61 43.1 273.63) |
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)
#7171C9 — rgb(113, 113, 201)
Deuteranopia (Green-blind)
#6D69C5 — rgb(109, 105, 197)
Tritanopia (Blue-blind)
#5ABBB8 — rgb(90, 187, 184)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(213, 65%, 60%);
text
color: hsl(213, 65%, 60%);
border
border: 2px solid hsl(213, 65%, 60%);
gradient light
background: linear-gradient(to right, hsl(213, 65%, 80%), hsl(213, 65%, 60%));
gradient dark
background: linear-gradient(to right, hsl(213, 65%, 60%), hsl(213, 65%, 40%))
hex
background-color: #5792DB;
tailwind
bg-[hsl(213,65%,60%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(213, 65%, 60%, 0.4);
css variable
--color-primary: hsl(213, 65%, 60%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(213, 65%, 60%)?
HEX: #5792DB | RGB: rgb(87, 146, 219) | CMYK: 60%, 33%, 0%, 14% | HSV: 213°, 60%, 86%. Copy any format from the conversion table above.
What colors go well with #5792DB?
The complementary color is HSL(33, 65%, 60%). For a triadic harmony, use hues 213°, 333°, and 93°. For analogous combinations, try hues 183° and 243°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(213, 65%, 60%) in CSS?
As HSL: color: hsl(213, 65%, 60%); — As HEX: color: #5792DB; — As RGB: color: rgb(87, 146, 219); — Tailwind CSS: bg-[hsl(213,65%,60%)] — CSS variable: --color-primary: hsl(213, 65%, 60%);