HSL(207, 29%, 15%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(207,29%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(207, 29%, 15%) | color: hsl(207, 29%, 15%) | |
| HEX | #1B2731 | color: #1B2731 | |
| RGB | rgb(27, 39, 49) | color: rgb(27, 39, 49) | |
| CMYK | cmyk(45%, 20%, 0%, 81%) | — | |
| HSV | hsv(207, 45%, 19%) | — | |
| HWB | hwb(207 10% 81%) | color: hwb(207 10% 81%) | |
| OKLCH | oklch(0.2662 0.0251 244.06) | color: oklch(0.2662 0.0251 244.06) | |
| Lab | lab(14.98 -1.99 -8.18) | color: lab(14.98 -1.99 -8.18) | |
| LCH | lch(14.98 8.42 256.33) | color: lch(14.98 8.42 256.33) |
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)
#20202F — rgb(32, 32, 47)
Deuteranopia (Green-blind)
#201F2E — rgb(32, 31, 46)
Tritanopia (Blue-blind)
#1C2D2C — rgb(28, 45, 44)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(207, 29%, 15%);
text
color: hsl(207, 29%, 15%);
border
border: 2px solid hsl(207, 29%, 15%);
gradient light
background: linear-gradient(to right, hsl(207, 29%, 35%), hsl(207, 29%, 15%));
gradient dark
background: linear-gradient(to right, hsl(207, 29%, 15%), hsl(207, 29%, 0%))
hex
background-color: #1B2731;
tailwind
bg-[hsl(207,29%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(207, 29%, 15%, 0.4);
css variable
--color-primary: hsl(207, 29%, 15%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(207, 29%, 15%)?
HEX: #1B2731 | RGB: rgb(27, 39, 49) | CMYK: 45%, 20%, 0%, 81% | HSV: 207°, 45%, 19%. Copy any format from the conversion table above.
What colors go well with #1B2731?
The complementary color is HSL(27, 29%, 15%). For a triadic harmony, use hues 207°, 327°, and 87°. For analogous combinations, try hues 177° and 237°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(207, 29%, 15%) in CSS?
As HSL: color: hsl(207, 29%, 15%); — As HEX: color: #1B2731; — As RGB: color: rgb(27, 39, 49); — Tailwind CSS: bg-[hsl(207,29%,15%)] — CSS variable: --color-primary: hsl(207, 29%, 15%);