HSL(222, 23%, 68%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(222,23%,68%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(222, 23%, 68%) | color: hsl(222, 23%, 68%) | |
| HEX | #9BA6C0 | color: #9BA6C0 | |
| RGB | rgb(155, 166, 192) | color: rgb(155, 166, 192) | |
| CMYK | cmyk(19%, 14%, 0%, 25%) | — | |
| HSV | hsv(222, 19%, 75%) | — | |
| HWB | hwb(222 61% 25%) | color: hwb(222 61% 25%) | |
| OKLCH | oklch(0.7251 0.0398 267.23) | color: oklch(0.7251 0.0398 267.23) | |
| Lab | lab(68.05 1.68 -14.62) | color: lab(68.05 1.68 -14.62) | |
| LCH | lch(68.05 14.72 276.56) | color: lch(68.05 14.72 276.56) |
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)
#A0A0BA — rgb(160, 160, 186)
Deuteranopia (Green-blind)
#9F9EB8 — rgb(159, 158, 184)
Tritanopia (Blue-blind)
#9CB5B4 — rgb(156, 181, 180)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(222, 23%, 68%);
text
color: hsl(222, 23%, 68%);
border
border: 2px solid hsl(222, 23%, 68%);
gradient light
background: linear-gradient(to right, hsl(222, 23%, 88%), hsl(222, 23%, 68%));
gradient dark
background: linear-gradient(to right, hsl(222, 23%, 68%), hsl(222, 23%, 48%))
hex
background-color: #9BA6C0;
tailwind
bg-[hsl(222,23%,68%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(222, 23%, 68%, 0.4);
css variable
--color-primary: hsl(222, 23%, 68%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(222, 23%, 68%)?
HEX: #9BA6C0 | RGB: rgb(155, 166, 192) | CMYK: 19%, 14%, 0%, 25% | HSV: 222°, 19%, 75%. Copy any format from the conversion table above.
What colors go well with #9BA6C0?
The complementary color is HSL(42, 23%, 68%). 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, 23%, 68%) in CSS?
As HSL: color: hsl(222, 23%, 68%); — As HEX: color: #9BA6C0; — As RGB: color: rgb(155, 166, 192); — Tailwind CSS: bg-[hsl(222,23%,68%)] — CSS variable: --color-primary: hsl(222, 23%, 68%);