HSL(197, 35%, 46%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(197,35%,46%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(197, 35%, 46%) | color: hsl(197, 35%, 46%) | |
| HEX | #4C879E | color: #4C879E | |
| RGB | rgb(76, 135, 158) | color: rgb(76, 135, 158) | |
| CMYK | cmyk(52%, 15%, 0%, 38%) | — | |
| HSV | hsv(197, 52%, 62%) | — | |
| HWB | hwb(197 30% 38%) | color: hwb(197 30% 38%) | |
| OKLCH | oklch(0.5924 0.0708 225.35) | color: oklch(0.5924 0.0708 225.35) | |
| Lab | lab(53.31 -12.61 -18.18) | color: lab(53.31 -12.61 -18.18) | |
| LCH | lch(53.31 22.13 235.25) | color: lch(53.31 22.13 235.25) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#666698 — rgb(102, 102, 152)
Deuteranopia (Green-blind)
#625E97 — rgb(98, 94, 151)
Tritanopia (Blue-blind)
#4F9493 — rgb(79, 148, 147)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(197, 35%, 46%);
text
color: hsl(197, 35%, 46%);
border
border: 2px solid hsl(197, 35%, 46%);
gradient light
background: linear-gradient(to right, hsl(197, 35%, 66%), hsl(197, 35%, 46%));
gradient dark
background: linear-gradient(to right, hsl(197, 35%, 46%), hsl(197, 35%, 26%))
hex
background-color: #4C879E;
tailwind
bg-[hsl(197,35%,46%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(197, 35%, 46%, 0.4);
css variable
--color-primary: hsl(197, 35%, 46%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(197, 35%, 46%)?
HEX: #4C879E | RGB: rgb(76, 135, 158) | CMYK: 52%, 15%, 0%, 38% | HSV: 197°, 52%, 62%. Copy any format from the conversion table above.
What colors go well with #4C879E?
The complementary color is HSL(17, 35%, 46%). 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, 35%, 46%) in CSS?
As HSL: color: hsl(197, 35%, 46%); — As HEX: color: #4C879E; — As RGB: color: rgb(76, 135, 158); — Tailwind CSS: bg-[hsl(197,35%,46%)] — CSS variable: --color-primary: hsl(197, 35%, 46%);