HSL(221, 85%, 15%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(221,85%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(221, 85%, 15%) | color: hsl(221, 85%, 15%) | |
| HEX | #061A47 | color: #061A47 | |
| RGB | rgb(6, 26, 71) | color: rgb(6, 26, 71) | |
| CMYK | cmyk(92%, 63%, 0%, 72%) | — | |
| HSV | hsv(222, 92%, 28%) | — | |
| HWB | hwb(222 2% 72%) | color: hwb(222 2% 72%) | |
| OKLCH | oklch(0.2353 0.0885 262.92) | color: oklch(0.2353 0.0885 262.92) | |
| Lab | lab(10.79 12.16 -30.39) | color: lab(10.79 12.16 -30.39) | |
| LCH | lch(10.79 32.73 291.81) | color: lch(10.79 32.73 291.81) |
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)
#0F0F3C — rgb(15, 15, 60)
Deuteranopia (Green-blind)
#0E0C3A — rgb(14, 12, 58)
Tritanopia (Blue-blind)
#073432 — rgb(7, 52, 50)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(221, 85%, 15%);
text
color: hsl(221, 85%, 15%);
border
border: 2px solid hsl(221, 85%, 15%);
gradient light
background: linear-gradient(to right, hsl(221, 85%, 35%), hsl(221, 85%, 15%));
gradient dark
background: linear-gradient(to right, hsl(221, 85%, 15%), hsl(221, 85%, 0%))
hex
background-color: #061A47;
tailwind
bg-[hsl(221,85%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(221, 85%, 15%, 0.4);
css variable
--color-primary: hsl(221, 85%, 15%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(221, 85%, 15%)?
HEX: #061A47 | RGB: rgb(6, 26, 71) | CMYK: 92%, 63%, 0%, 72% | HSV: 222°, 92%, 28%. Copy any format from the conversion table above.
What colors go well with #061A47?
The complementary color is HSL(41, 85%, 15%). For a triadic harmony, use hues 221°, 341°, and 101°. For analogous combinations, try hues 191° and 251°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(221, 85%, 15%) in CSS?
As HSL: color: hsl(221, 85%, 15%); — As HEX: color: #061A47; — As RGB: color: rgb(6, 26, 71); — Tailwind CSS: bg-[hsl(221,85%,15%)] — CSS variable: --color-primary: hsl(221, 85%, 15%);