HSL(197, 49%, 39%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(197,49%,39%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(197, 49%, 39%) | color: hsl(197, 49%, 39%) | |
| HEX | #337994 | color: #337994 | |
| RGB | rgb(51, 121, 148) | color: rgb(51, 121, 148) | |
| CMYK | cmyk(66%, 18%, 0%, 42%) | — | |
| HSV | hsv(197, 66%, 58%) | — | |
| HWB | hwb(197 20% 42%) | color: hwb(197 20% 42%) | |
| OKLCH | oklch(0.5432 0.0811 226.65) | color: oklch(0.5432 0.0811 226.65) | |
| Lab | lab(47.64 -13.15 -21.11) | color: lab(47.64 -13.15 -21.11) | |
| LCH | lch(47.64 24.87 238.08) | color: lch(47.64 24.87 238.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)
#51528D — rgb(81, 82, 141)
Deuteranopia (Green-blind)
#4D488C — rgb(77, 72, 140)
Tritanopia (Blue-blind)
#378887 — rgb(55, 136, 135)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(197, 49%, 39%);
text
color: hsl(197, 49%, 39%);
border
border: 2px solid hsl(197, 49%, 39%);
gradient light
background: linear-gradient(to right, hsl(197, 49%, 59%), hsl(197, 49%, 39%));
gradient dark
background: linear-gradient(to right, hsl(197, 49%, 39%), hsl(197, 49%, 19%))
hex
background-color: #337994;
tailwind
bg-[hsl(197,49%,39%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(197, 49%, 39%, 0.4);
css variable
--color-primary: hsl(197, 49%, 39%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(197, 49%, 39%)?
HEX: #337994 | RGB: rgb(51, 121, 148) | CMYK: 66%, 18%, 0%, 42% | HSV: 197°, 66%, 58%. Copy any format from the conversion table above.
What colors go well with #337994?
The complementary color is HSL(17, 49%, 39%). 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, 49%, 39%) in CSS?
As HSL: color: hsl(197, 49%, 39%); — As HEX: color: #337994; — As RGB: color: rgb(51, 121, 148); — Tailwind CSS: bg-[hsl(197,49%,39%)] — CSS variable: --color-primary: hsl(197, 49%, 39%);