HSL(197, 55%, 42%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(197,55%,42%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(197, 55%, 42%) | color: hsl(197, 55%, 42%) | |
| HEX | #3085A6 | color: #3085A6 | |
| RGB | rgb(48, 133, 166) | color: rgb(48, 133, 166) | |
| CMYK | cmyk(71%, 20%, 0%, 35%) | — | |
| HSV | hsv(197, 71%, 65%) | — | |
| HWB | hwb(197 19% 35%) | color: hwb(197 19% 35%) | |
| OKLCH | oklch(0.5803 0.0942 227.76) | color: oklch(0.5803 0.0942 227.76) | |
| Lab | lab(52.01 -14.31 -24.88) | color: lab(52.01 -14.31 -24.88) | |
| LCH | lch(52.01 28.7 240.09) | color: lch(52.01 28.7 240.09) |
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)
#55569E — rgb(85, 86, 158)
Deuteranopia (Green-blind)
#504A9C — rgb(80, 74, 156)
Tritanopia (Blue-blind)
#349896 — rgb(52, 152, 150)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(197, 55%, 42%);
text
color: hsl(197, 55%, 42%);
border
border: 2px solid hsl(197, 55%, 42%);
gradient light
background: linear-gradient(to right, hsl(197, 55%, 62%), hsl(197, 55%, 42%));
gradient dark
background: linear-gradient(to right, hsl(197, 55%, 42%), hsl(197, 55%, 22%))
hex
background-color: #3085A6;
tailwind
bg-[hsl(197,55%,42%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(197, 55%, 42%, 0.4);
css variable
--color-primary: hsl(197, 55%, 42%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(197, 55%, 42%)?
HEX: #3085A6 | RGB: rgb(48, 133, 166) | CMYK: 71%, 20%, 0%, 35% | HSV: 197°, 71%, 65%. Copy any format from the conversion table above.
What colors go well with #3085A6?
The complementary color is HSL(17, 55%, 42%). 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, 55%, 42%) in CSS?
As HSL: color: hsl(197, 55%, 42%); — As HEX: color: #3085A6; — As RGB: color: rgb(48, 133, 166); — Tailwind CSS: bg-[hsl(197,55%,42%)] — CSS variable: --color-primary: hsl(197, 55%, 42%);