HSL(197, 62%, 50%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(197,62%,50%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(197, 62%, 50%) | color: hsl(197, 62%, 50%) | |
| HEX | #30A2CF | color: #30A2CF | |
| RGB | rgb(48, 162, 207) | color: rgb(48, 162, 207) | |
| CMYK | cmyk(77%, 22%, 0%, 19%) | — | |
| HSV | hsv(197, 77%, 81%) | — | |
| HWB | hwb(197 19% 19%) | color: hwb(197 19% 19%) | |
| OKLCH | oklch(0.6696 0.1181 229.43) | color: oklch(0.6696 0.1181 229.43) | |
| Lab | lab(62.48 -16.24 -31.92) | color: lab(62.48 -16.24 -31.92) | |
| LCH | lch(62.48 35.81 243.03) | color: lch(62.48 35.81 243.03) |
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)
#6162C4 — rgb(97, 98, 196)
Deuteranopia (Green-blind)
#5B52C2 — rgb(91, 82, 194)
Tritanopia (Blue-blind)
#36BCBA — rgb(54, 188, 186)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(197, 62%, 50%);
text
color: hsl(197, 62%, 50%);
border
border: 2px solid hsl(197, 62%, 50%);
gradient light
background: linear-gradient(to right, hsl(197, 62%, 70%), hsl(197, 62%, 50%));
gradient dark
background: linear-gradient(to right, hsl(197, 62%, 50%), hsl(197, 62%, 30%))
hex
background-color: #30A2CF;
tailwind
bg-[hsl(197,62%,50%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(197, 62%, 50%, 0.4);
css variable
--color-primary: hsl(197, 62%, 50%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(197, 62%, 50%)?
HEX: #30A2CF | RGB: rgb(48, 162, 207) | CMYK: 77%, 22%, 0%, 19% | HSV: 197°, 77%, 81%. Copy any format from the conversion table above.
What colors go well with #30A2CF?
The complementary color is HSL(17, 62%, 50%). 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, 62%, 50%) in CSS?
As HSL: color: hsl(197, 62%, 50%); — As HEX: color: #30A2CF; — As RGB: color: rgb(48, 162, 207); — Tailwind CSS: bg-[hsl(197,62%,50%)] — CSS variable: --color-primary: hsl(197, 62%, 50%);