HSL(197, 81%, 52%)
Vivid Blue — Blue color
Adjust Color
Color Information
Color Name
Vivid Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(197,81%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(197, 81%, 52%) | color: hsl(197, 81%, 52%) | |
| HEX | #21B0E8 | color: #21B0E8 | |
| RGB | rgb(33, 176, 232) | color: rgb(33, 176, 232) | |
| CMYK | cmyk(86%, 24%, 0%, 9%) | — | |
| HSV | hsv(197, 86%, 91%) | — | |
| HWB | hwb(197 13% 9%) | color: hwb(197 13% 9%) | |
| OKLCH | oklch(0.7118 0.1374 231.41) | color: oklch(0.7118 0.1374 231.41) | |
| Lab | lab(67.42 -16.48 -38.05) | color: lab(67.42 -16.48 -38.05) | |
| LCH | lch(67.42 41.47 246.58) | color: lch(67.42 41.47 246.58) |
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)
#5F60DA — rgb(95, 96, 218)
Deuteranopia (Green-blind)
#574CD7 — rgb(87, 76, 215)
Tritanopia (Blue-blind)
#28D0CD — rgb(40, 208, 205)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(197, 81%, 52%);
text
color: hsl(197, 81%, 52%);
border
border: 2px solid hsl(197, 81%, 52%);
gradient light
background: linear-gradient(to right, hsl(197, 81%, 72%), hsl(197, 81%, 52%));
gradient dark
background: linear-gradient(to right, hsl(197, 81%, 52%), hsl(197, 81%, 32%))
hex
background-color: #21B0E8;
tailwind
bg-[hsl(197,81%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(197, 81%, 52%, 0.4);
css variable
--color-primary: hsl(197, 81%, 52%);
Related Colors
Use Cases for Vivid Blue
Frequently Asked Questions
What are all the color codes for HSL(197, 81%, 52%)?
HEX: #21B0E8 | RGB: rgb(33, 176, 232) | CMYK: 86%, 24%, 0%, 9% | HSV: 197°, 86%, 91%. Copy any format from the conversion table above.
What colors go well with #21B0E8?
The complementary color is HSL(17, 81%, 52%). 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, 81%, 52%) in CSS?
As HSL: color: hsl(197, 81%, 52%); — As HEX: color: #21B0E8; — As RGB: color: rgb(33, 176, 232); — Tailwind CSS: bg-[hsl(197,81%,52%)] — CSS variable: --color-primary: hsl(197, 81%, 52%);