HSL(196, 45%, 16%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(196,45%,16%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(196, 45%, 16%) | color: hsl(196, 45%, 16%) | |
| HEX | #16313B | color: #16313B | |
| RGB | rgb(22, 49, 59) | color: rgb(22, 49, 59) | |
| CMYK | cmyk(63%, 17%, 0%, 77%) | — | |
| HSV | hsv(196, 63%, 23%) | — | |
| HWB | hwb(196 9% 77%) | color: hwb(196 9% 77%) | |
| OKLCH | oklch(0.2966 0.0375 224.47) | color: oklch(0.2966 0.0375 224.47) | |
| Lab | lab(18.73 -6.79 -9.47) | color: lab(18.73 -6.79 -9.47) | |
| LCH | lch(18.73 11.65 234.36) | color: lch(18.73 11.65 234.36) |
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)
#222239 — rgb(34, 34, 57)
Deuteranopia (Green-blind)
#201E38 — rgb(32, 30, 56)
Tritanopia (Blue-blind)
#173736 — rgb(23, 55, 54)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(196, 45%, 16%);
text
color: hsl(196, 45%, 16%);
border
border: 2px solid hsl(196, 45%, 16%);
gradient light
background: linear-gradient(to right, hsl(196, 45%, 36%), hsl(196, 45%, 16%));
gradient dark
background: linear-gradient(to right, hsl(196, 45%, 16%), hsl(196, 45%, 0%))
hex
background-color: #16313B;
tailwind
bg-[hsl(196,45%,16%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(196, 45%, 16%, 0.4);
css variable
--color-primary: hsl(196, 45%, 16%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(196, 45%, 16%)?
HEX: #16313B | RGB: rgb(22, 49, 59) | CMYK: 63%, 17%, 0%, 77% | HSV: 196°, 63%, 23%. Copy any format from the conversion table above.
What colors go well with #16313B?
The complementary color is HSL(16, 45%, 16%). For a triadic harmony, use hues 196°, 316°, and 76°. For analogous combinations, try hues 166° and 226°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(196, 45%, 16%) in CSS?
As HSL: color: hsl(196, 45%, 16%); — As HEX: color: #16313B; — As RGB: color: rgb(22, 49, 59); — Tailwind CSS: bg-[hsl(196,45%,16%)] — CSS variable: --color-primary: hsl(196, 45%, 16%);