HSL(222, 93%, 79%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(222,93%,79%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(222, 93%, 79%) | color: hsl(222, 93%, 79%) | |
| HEX | #98B6FB | color: #98B6FB | |
| RGB | rgb(152, 182, 251) | color: rgb(152, 182, 251) | |
| CMYK | cmyk(39%, 27%, 0%, 2%) | — | |
| HSV | hsv(222, 39%, 98%) | — | |
| HWB | hwb(222 60% 2%) | color: hwb(222 60% 2%) | |
| OKLCH | oklch(0.7802 0.1045 265.97) | color: oklch(0.7802 0.1045 265.97) | |
| Lab | lab(74.25 6.62 -37.4) | color: lab(74.25 6.62 -37.4) | |
| LCH | lch(74.25 37.98 280.04) | color: lch(74.25 37.98 280.04) |
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)
#A5A5EA — rgb(165, 165, 234)
Deuteranopia (Green-blind)
#A3A1E6 — rgb(163, 161, 230)
Tritanopia (Blue-blind)
#9ADDDA — rgb(154, 221, 218)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(222, 93%, 79%);
text
color: hsl(222, 93%, 79%);
border
border: 2px solid hsl(222, 93%, 79%);
gradient light
background: linear-gradient(to right, hsl(222, 93%, 99%), hsl(222, 93%, 79%));
gradient dark
background: linear-gradient(to right, hsl(222, 93%, 79%), hsl(222, 93%, 59%))
hex
background-color: #98B6FB;
tailwind
bg-[hsl(222,93%,79%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(222, 93%, 79%, 0.4);
css variable
--color-primary: hsl(222, 93%, 79%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(222, 93%, 79%)?
HEX: #98B6FB | RGB: rgb(152, 182, 251) | CMYK: 39%, 27%, 0%, 2% | HSV: 222°, 39%, 98%. Copy any format from the conversion table above.
What colors go well with #98B6FB?
The complementary color is HSL(42, 93%, 79%). For a triadic harmony, use hues 222°, 342°, and 102°. For analogous combinations, try hues 192° and 252°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(222, 93%, 79%) in CSS?
As HSL: color: hsl(222, 93%, 79%); — As HEX: color: #98B6FB; — As RGB: color: rgb(152, 182, 251); — Tailwind CSS: bg-[hsl(222,93%,79%)] — CSS variable: --color-primary: hsl(222, 93%, 79%);