HSL(197, 29%, 24%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(197,29%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(197, 29%, 24%) | color: hsl(197, 29%, 24%) | |
| HEX | #2B454F | color: #2B454F | |
| RGB | rgb(43, 69, 79) | color: rgb(43, 69, 79) | |
| CMYK | cmyk(46%, 13%, 0%, 69%) | — | |
| HSV | hsv(197, 46%, 31%) | — | |
| HWB | hwb(197 17% 69%) | color: hwb(197 17% 69%) | |
| OKLCH | oklch(0.3737 0.036 224.21) | color: oklch(0.3737 0.036 224.21) | |
| Lab | lab(27.67 -6.86 -9.13) | color: lab(27.67 -6.86 -9.13) | |
| LCH | lch(27.67 11.42 233.08) | color: lch(27.67 11.42 233.08) |
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)
#36364D — rgb(54, 54, 77)
Deuteranopia (Green-blind)
#35334C — rgb(53, 51, 76)
Tritanopia (Blue-blind)
#2C4B4A — rgb(44, 75, 74)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(197, 29%, 24%);
text
color: hsl(197, 29%, 24%);
border
border: 2px solid hsl(197, 29%, 24%);
gradient light
background: linear-gradient(to right, hsl(197, 29%, 44%), hsl(197, 29%, 24%));
gradient dark
background: linear-gradient(to right, hsl(197, 29%, 24%), hsl(197, 29%, 4%))
hex
background-color: #2B454F;
tailwind
bg-[hsl(197,29%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(197, 29%, 24%, 0.4);
css variable
--color-primary: hsl(197, 29%, 24%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(197, 29%, 24%)?
HEX: #2B454F | RGB: rgb(43, 69, 79) | CMYK: 46%, 13%, 0%, 69% | HSV: 197°, 46%, 31%. Copy any format from the conversion table above.
What colors go well with #2B454F?
The complementary color is HSL(17, 29%, 24%). For a triadic harmony, use hues 197°, 317°, and 77°. For analogous combinations, try hues 167° and 227°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(197, 29%, 24%) in CSS?
As HSL: color: hsl(197, 29%, 24%); — As HEX: color: #2B454F; — As RGB: color: rgb(43, 69, 79); — Tailwind CSS: bg-[hsl(197,29%,24%)] — CSS variable: --color-primary: hsl(197, 29%, 24%);