HSL(198, 90%, 56%)
Vivid Blue — Blue color
Adjust Color
Color Information
Color Name
Vivid Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(198,90%,56%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(198, 90%, 56%) | color: hsl(198, 90%, 56%) | |
| HEX | #2AB7F4 | color: #2AB7F4 | |
| RGB | rgb(42, 183, 244) | color: rgb(42, 183, 244) | |
| CMYK | cmyk(83%, 25%, 0%, 4%) | — | |
| HSV | hsv(198, 83%, 96%) | — | |
| HWB | hwb(198 16% 4%) | color: hwb(198 16% 4%) | |
| OKLCH | oklch(0.7352 0.1424 233.25) | color: oklch(0.7352 0.1424 233.25) | |
| Lab | lab(70.1 -15.44 -40.4) | color: lab(70.1 -15.44 -40.4) | |
| LCH | lch(70.1 43.25 249.08) | color: lch(70.1 43.25 249.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: black
Color Blindness Simulation
Protanopia (Red-blind)
#6768E5 — rgb(103, 104, 229)
Deuteranopia (Green-blind)
#5F54E2 — rgb(95, 84, 226)
Tritanopia (Blue-blind)
#31DAD7 — rgb(49, 218, 215)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(198, 90%, 56%);
text
color: hsl(198, 90%, 56%);
border
border: 2px solid hsl(198, 90%, 56%);
gradient light
background: linear-gradient(to right, hsl(198, 90%, 76%), hsl(198, 90%, 56%));
gradient dark
background: linear-gradient(to right, hsl(198, 90%, 56%), hsl(198, 90%, 36%))
hex
background-color: #2AB7F4;
tailwind
bg-[hsl(198,90%,56%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(198, 90%, 56%, 0.4);
css variable
--color-primary: hsl(198, 90%, 56%);
Related Colors
Use Cases for Vivid Blue
Frequently Asked Questions
What are all the color codes for HSL(198, 90%, 56%)?
HEX: #2AB7F4 | RGB: rgb(42, 183, 244) | CMYK: 83%, 25%, 0%, 4% | HSV: 198°, 83%, 96%. Copy any format from the conversion table above.
What colors go well with #2AB7F4?
The complementary color is HSL(18, 90%, 56%). For a triadic harmony, use hues 198°, 318°, and 78°. For analogous combinations, try hues 168° and 228°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(198, 90%, 56%) in CSS?
As HSL: color: hsl(198, 90%, 56%); — As HEX: color: #2AB7F4; — As RGB: color: rgb(42, 183, 244); — Tailwind CSS: bg-[hsl(198,90%,56%)] — CSS variable: --color-primary: hsl(198, 90%, 56%);