HSL(217, 94%, 30%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(217,94%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(217, 94%, 30%) | color: hsl(217, 94%, 30%) | |
| HEX | #053C94 | color: #053C94 | |
| RGB | rgb(5, 60, 148) | color: rgb(5, 60, 148) | |
| CMYK | cmyk(97%, 59%, 0%, 42%) | — | |
| HSV | hsv(217, 97%, 58%) | — | |
| HWB | hwb(217 2% 42%) | color: hwb(217 2% 42%) | |
| OKLCH | oklch(0.3852 0.1544 260.5) | color: oklch(0.3852 0.1544 260.5) | |
| Lab | lab(27.85 20.8 -52.61) | color: lab(27.85 20.8 -52.61) | |
| LCH | lch(27.85 56.57 291.57) | color: lch(27.85 56.57 291.57) |
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)
#1D1D7F — rgb(29, 29, 127)
Deuteranopia (Green-blind)
#1A167A — rgb(26, 22, 122)
Tritanopia (Blue-blind)
#086E6A — rgb(8, 110, 106)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(217, 94%, 30%);
text
color: hsl(217, 94%, 30%);
border
border: 2px solid hsl(217, 94%, 30%);
gradient light
background: linear-gradient(to right, hsl(217, 94%, 50%), hsl(217, 94%, 30%));
gradient dark
background: linear-gradient(to right, hsl(217, 94%, 30%), hsl(217, 94%, 10%))
hex
background-color: #053C94;
tailwind
bg-[hsl(217,94%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(217, 94%, 30%, 0.4);
css variable
--color-primary: hsl(217, 94%, 30%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(217, 94%, 30%)?
HEX: #053C94 | RGB: rgb(5, 60, 148) | CMYK: 97%, 59%, 0%, 42% | HSV: 217°, 97%, 58%. Copy any format from the conversion table above.
What colors go well with #053C94?
The complementary color is HSL(37, 94%, 30%). 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%, 30%) in CSS?
As HSL: color: hsl(217, 94%, 30%); — As HEX: color: #053C94; — As RGB: color: rgb(5, 60, 148); — Tailwind CSS: bg-[hsl(217,94%,30%)] — CSS variable: --color-primary: hsl(217, 94%, 30%);