HSL(217, 91%, 30%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(217,91%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(217, 91%, 30%) | color: hsl(217, 91%, 30%) | |
| HEX | #073C92 | color: #073C92 | |
| RGB | rgb(7, 60, 146) | color: rgb(7, 60, 146) | |
| CMYK | cmyk(95%, 59%, 0%, 43%) | — | |
| HSV | hsv(217, 95%, 57%) | — | |
| HWB | hwb(217 3% 43%) | color: hwb(217 3% 43%) | |
| OKLCH | oklch(0.3838 0.1514 260.54) | color: oklch(0.3838 0.1514 260.54) | |
| Lab | lab(27.71 20.06 -51.6) | color: lab(27.71 20.06 -51.6) | |
| LCH | lch(27.71 55.36 291.24) | color: lch(27.71 55.36 291.24) |
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)
#1E1E7D — rgb(30, 30, 125)
Deuteranopia (Green-blind)
#1B1778 — rgb(27, 23, 120)
Tritanopia (Blue-blind)
#0A6D69 — rgb(10, 109, 105)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(217, 91%, 30%);
text
color: hsl(217, 91%, 30%);
border
border: 2px solid hsl(217, 91%, 30%);
gradient light
background: linear-gradient(to right, hsl(217, 91%, 50%), hsl(217, 91%, 30%));
gradient dark
background: linear-gradient(to right, hsl(217, 91%, 30%), hsl(217, 91%, 10%))
hex
background-color: #073C92;
tailwind
bg-[hsl(217,91%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(217, 91%, 30%, 0.4);
css variable
--color-primary: hsl(217, 91%, 30%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(217, 91%, 30%)?
HEX: #073C92 | RGB: rgb(7, 60, 146) | CMYK: 95%, 59%, 0%, 43% | HSV: 217°, 95%, 57%. Copy any format from the conversion table above.
What colors go well with #073C92?
The complementary color is HSL(37, 91%, 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, 91%, 30%) in CSS?
As HSL: color: hsl(217, 91%, 30%); — As HEX: color: #073C92; — As RGB: color: rgb(7, 60, 146); — Tailwind CSS: bg-[hsl(217,91%,30%)] — CSS variable: --color-primary: hsl(217, 91%, 30%);