HSL(222, 35%, 70%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(222,35%,70%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(222, 35%, 70%) | color: hsl(222, 35%, 70%) | |
| HEX | #98A8CD | color: #98A8CD | |
| RGB | rgb(152, 168, 205) | color: rgb(152, 168, 205) | |
| CMYK | cmyk(26%, 18%, 0%, 20%) | — | |
| HSV | hsv(222, 26%, 80%) | — | |
| HWB | hwb(222 59% 20%) | color: hwb(222 59% 20%) | |
| OKLCH | oklch(0.732 0.0568 266.65) | color: oklch(0.732 0.0568 266.65) | |
| Lab | lab(68.81 2.66 -20.68) | color: lab(68.81 2.66 -20.68) | |
| LCH | lch(68.81 20.85 277.33) | color: lch(68.81 20.85 277.33) |
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)
#9F9FC4 — rgb(159, 159, 196)
Deuteranopia (Green-blind)
#9E9DC2 — rgb(158, 157, 194)
Tritanopia (Blue-blind)
#99BDBB — rgb(153, 189, 187)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(222, 35%, 70%);
text
color: hsl(222, 35%, 70%);
border
border: 2px solid hsl(222, 35%, 70%);
gradient light
background: linear-gradient(to right, hsl(222, 35%, 90%), hsl(222, 35%, 70%));
gradient dark
background: linear-gradient(to right, hsl(222, 35%, 70%), hsl(222, 35%, 50%))
hex
background-color: #98A8CD;
tailwind
bg-[hsl(222,35%,70%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(222, 35%, 70%, 0.4);
css variable
--color-primary: hsl(222, 35%, 70%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(222, 35%, 70%)?
HEX: #98A8CD | RGB: rgb(152, 168, 205) | CMYK: 26%, 18%, 0%, 20% | HSV: 222°, 26%, 80%. Copy any format from the conversion table above.
What colors go well with #98A8CD?
The complementary color is HSL(42, 35%, 70%). 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, 35%, 70%) in CSS?
As HSL: color: hsl(222, 35%, 70%); — As HEX: color: #98A8CD; — As RGB: color: rgb(152, 168, 205); — Tailwind CSS: bg-[hsl(222,35%,70%)] — CSS variable: --color-primary: hsl(222, 35%, 70%);