HSL(198, 74%, 80%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(198,74%,80%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(198, 74%, 80%) | color: hsl(198, 74%, 80%) | |
| HEX | #A6DBF2 | color: #A6DBF2 | |
| RGB | rgb(166, 219, 242) | color: rgb(166, 219, 242) | |
| CMYK | cmyk(31%, 10%, 0%, 5%) | — | |
| HSV | hsv(198, 31%, 95%) | — | |
| HWB | hwb(198 66% 5%) | color: hwb(198 66% 5%) | |
| OKLCH | oklch(0.8624 0.0632 226.46) | color: oklch(0.8624 0.0632 226.46) | |
| Lab | lab(84.58 -11.67 -16.73) | color: lab(84.58 -11.67 -16.73) | |
| LCH | lch(84.58 20.4 235.1) | color: lch(84.58 20.4 235.1) |
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)
#BDBDEC — rgb(189, 189, 236)
Deuteranopia (Green-blind)
#BAB6EB — rgb(186, 182, 235)
Tritanopia (Blue-blind)
#A9E8E7 — rgb(169, 232, 231)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(198, 74%, 80%);
text
color: hsl(198, 74%, 80%);
border
border: 2px solid hsl(198, 74%, 80%);
gradient light
background: linear-gradient(to right, hsl(198, 74%, 100%), hsl(198, 74%, 80%));
gradient dark
background: linear-gradient(to right, hsl(198, 74%, 80%), hsl(198, 74%, 60%))
hex
background-color: #A6DBF2;
tailwind
bg-[hsl(198,74%,80%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(198, 74%, 80%, 0.4);
css variable
--color-primary: hsl(198, 74%, 80%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(198, 74%, 80%)?
HEX: #A6DBF2 | RGB: rgb(166, 219, 242) | CMYK: 31%, 10%, 0%, 5% | HSV: 198°, 31%, 95%. Copy any format from the conversion table above.
What colors go well with #A6DBF2?
The complementary color is HSL(18, 74%, 80%). 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, 74%, 80%) in CSS?
As HSL: color: hsl(198, 74%, 80%); — As HEX: color: #A6DBF2; — As RGB: color: rgb(166, 219, 242); — Tailwind CSS: bg-[hsl(198,74%,80%)] — CSS variable: --color-primary: hsl(198, 74%, 80%);