HSL(222, 17%, 25%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(222,17%,25%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(222, 17%, 25%) | color: hsl(222, 17%, 25%) | |
| HEX | #353B4B | color: #353B4B | |
| RGB | rgb(53, 59, 75) | color: rgb(53, 59, 75) | |
| CMYK | cmyk(29%, 21%, 0%, 71%) | — | |
| HSV | hsv(224, 29%, 29%) | — | |
| HWB | hwb(224 21% 71%) | color: hwb(224 21% 71%) | |
| OKLCH | oklch(0.3534 0.0291 268.82) | color: oklch(0.3534 0.0291 268.82) | |
| Lab | lab(24.93 1.77 -10.59) | color: lab(24.93 1.77 -10.59) | |
| LCH | lch(24.93 10.74 279.49) | color: lch(24.93 10.74 279.49) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#383847 — rgb(56, 56, 71)
Deuteranopia (Green-blind)
#373746 — rgb(55, 55, 70)
Tritanopia (Blue-blind)
#354443 — rgb(53, 68, 67)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(222, 17%, 25%);
text
color: hsl(222, 17%, 25%);
border
border: 2px solid hsl(222, 17%, 25%);
gradient light
background: linear-gradient(to right, hsl(222, 17%, 45%), hsl(222, 17%, 25%));
gradient dark
background: linear-gradient(to right, hsl(222, 17%, 25%), hsl(222, 17%, 5%))
hex
background-color: #353B4B;
tailwind
bg-[hsl(222,17%,25%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(222, 17%, 25%, 0.4);
css variable
--color-primary: hsl(222, 17%, 25%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(222, 17%, 25%)?
HEX: #353B4B | RGB: rgb(53, 59, 75) | CMYK: 29%, 21%, 0%, 71% | HSV: 224°, 29%, 29%. Copy any format from the conversion table above.
What colors go well with #353B4B?
The complementary color is HSL(42, 17%, 25%). 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, 17%, 25%) in CSS?
As HSL: color: hsl(222, 17%, 25%); — As HEX: color: #353B4B; — As RGB: color: rgb(53, 59, 75); — Tailwind CSS: bg-[hsl(222,17%,25%)] — CSS variable: --color-primary: hsl(222, 17%, 25%);