HSL(229, 20%, 27%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(229,20%,27%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(229, 20%, 27%) | color: hsl(229, 20%, 27%) | |
| HEX | #373C53 | color: #373C53 | |
| RGB | rgb(55, 60, 83) | color: rgb(55, 60, 83) | |
| CMYK | cmyk(34%, 28%, 0%, 67%) | — | |
| HSV | hsv(229, 34%, 33%) | — | |
| HWB | hwb(229 22% 67%) | color: hwb(229 22% 67%) | |
| OKLCH | oklch(0.3616 0.0404 274.72) | color: oklch(0.3616 0.0404 274.72) | |
| Lab | lab(25.77 4.17 -14.56) | color: lab(25.77 4.17 -14.56) | |
| LCH | lch(25.77 15.15 285.98) | color: lch(25.77 15.15 285.98) |
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)
#39394D — rgb(57, 57, 77)
Deuteranopia (Green-blind)
#39394C — rgb(57, 57, 76)
Tritanopia (Blue-blind)
#374948 — rgb(55, 73, 72)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(229, 20%, 27%);
text
color: hsl(229, 20%, 27%);
border
border: 2px solid hsl(229, 20%, 27%);
gradient light
background: linear-gradient(to right, hsl(229, 20%, 47%), hsl(229, 20%, 27%));
gradient dark
background: linear-gradient(to right, hsl(229, 20%, 27%), hsl(229, 20%, 7%))
hex
background-color: #373C53;
tailwind
bg-[hsl(229,20%,27%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(229, 20%, 27%, 0.4);
css variable
--color-primary: hsl(229, 20%, 27%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(229, 20%, 27%)?
HEX: #373C53 | RGB: rgb(55, 60, 83) | CMYK: 34%, 28%, 0%, 67% | HSV: 229°, 34%, 33%. Copy any format from the conversion table above.
What colors go well with #373C53?
The complementary color is HSL(49, 20%, 27%). For a triadic harmony, use hues 229°, 349°, and 109°. For analogous combinations, try hues 199° and 259°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(229, 20%, 27%) in CSS?
As HSL: color: hsl(229, 20%, 27%); — As HEX: color: #373C53; — As RGB: color: rgb(55, 60, 83); — Tailwind CSS: bg-[hsl(229,20%,27%)] — CSS variable: --color-primary: hsl(229, 20%, 27%);