HSL(247, 75%, 20%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(247,75%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(247, 75%, 20%) | color: hsl(247, 75%, 20%) | |
| HEX | #160D59 | color: #160D59 | |
| RGB | rgb(22, 13, 89) | color: rgb(22, 13, 89) | |
| CMYK | cmyk(75%, 85%, 0%, 65%) | — | |
| HSV | hsv(247, 85%, 35%) | — | |
| HWB | hwb(247 5% 65%) | color: hwb(247 5% 65%) | |
| OKLCH | oklch(0.2411 0.1261 276.54) | color: oklch(0.2411 0.1261 276.54) | |
| Lab | lab(10.41 30.33 -43.36) | color: lab(10.41 30.33 -43.36) | |
| LCH | lch(10.41 52.92 304.97) | color: lch(10.41 52.92 304.97) |
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)
#121247 — rgb(18, 18, 71)
Deuteranopia (Green-blind)
#131342 — rgb(19, 19, 66)
Tritanopia (Blue-blind)
#163835 — rgb(22, 56, 53)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(247, 75%, 20%);
text
color: hsl(247, 75%, 20%);
border
border: 2px solid hsl(247, 75%, 20%);
gradient light
background: linear-gradient(to right, hsl(247, 75%, 40%), hsl(247, 75%, 20%));
gradient dark
background: linear-gradient(to right, hsl(247, 75%, 20%), hsl(247, 75%, 0%))
hex
background-color: #160D59;
tailwind
bg-[hsl(247,75%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(247, 75%, 20%, 0.4);
css variable
--color-primary: hsl(247, 75%, 20%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(247, 75%, 20%)?
HEX: #160D59 | RGB: rgb(22, 13, 89) | CMYK: 75%, 85%, 0%, 65% | HSV: 247°, 85%, 35%. Copy any format from the conversion table above.
What colors go well with #160D59?
The complementary color is HSL(67, 75%, 20%). For a triadic harmony, use hues 247°, 7°, and 127°. For analogous combinations, try hues 217° and 277°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(247, 75%, 20%) in CSS?
As HSL: color: hsl(247, 75%, 20%); — As HEX: color: #160D59; — As RGB: color: rgb(22, 13, 89); — Tailwind CSS: bg-[hsl(247,75%,20%)] — CSS variable: --color-primary: hsl(247, 75%, 20%);