HSL(221, 16%, 25%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(221,16%,25%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(221, 16%, 25%) | color: hsl(221, 16%, 25%) | |
| HEX | #363C4A | color: #363C4A | |
| RGB | rgb(54, 60, 74) | color: rgb(54, 60, 74) | |
| CMYK | cmyk(27%, 19%, 0%, 71%) | — | |
| HSV | hsv(222, 27%, 29%) | — | |
| HWB | hwb(222 21% 71%) | color: hwb(222 21% 71%) | |
| OKLCH | oklch(0.3563 0.0257 266.85) | color: oklch(0.3563 0.0257 266.85) | |
| Lab | lab(25.29 1.18 -9.37) | color: lab(25.29 1.18 -9.37) | |
| LCH | lch(25.29 9.44 277.18) | color: lch(25.29 9.44 277.18) |
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)
#393947 — rgb(57, 57, 71)
Deuteranopia (Green-blind)
#383846 — rgb(56, 56, 70)
Tritanopia (Blue-blind)
#364443 — rgb(54, 68, 67)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(221, 16%, 25%);
text
color: hsl(221, 16%, 25%);
border
border: 2px solid hsl(221, 16%, 25%);
gradient light
background: linear-gradient(to right, hsl(221, 16%, 45%), hsl(221, 16%, 25%));
gradient dark
background: linear-gradient(to right, hsl(221, 16%, 25%), hsl(221, 16%, 5%))
hex
background-color: #363C4A;
tailwind
bg-[hsl(221,16%,25%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(221, 16%, 25%, 0.4);
css variable
--color-primary: hsl(221, 16%, 25%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(221, 16%, 25%)?
HEX: #363C4A | RGB: rgb(54, 60, 74) | CMYK: 27%, 19%, 0%, 71% | HSV: 222°, 27%, 29%. Copy any format from the conversion table above.
What colors go well with #363C4A?
The complementary color is HSL(41, 16%, 25%). For a triadic harmony, use hues 221°, 341°, and 101°. For analogous combinations, try hues 191° and 251°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(221, 16%, 25%) in CSS?
As HSL: color: hsl(221, 16%, 25%); — As HEX: color: #363C4A; — As RGB: color: rgb(54, 60, 74); — Tailwind CSS: bg-[hsl(221,16%,25%)] — CSS variable: --color-primary: hsl(221, 16%, 25%);