HSL(212, 20%, 41%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(212,20%,41%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(212, 20%, 41%) | color: hsl(212, 20%, 41%) | |
| HEX | #54677D | color: #54677D | |
| RGB | rgb(84, 103, 125) | color: rgb(84, 103, 125) | |
| CMYK | cmyk(33%, 18%, 0%, 51%) | — | |
| HSV | hsv(212, 33%, 49%) | — | |
| HWB | hwb(212 33% 51%) | color: hwb(212 33% 51%) | |
| OKLCH | oklch(0.5067 0.042 252.36) | color: oklch(0.5067 0.042 252.36) | |
| Lab | lab(42.86 -1.45 -14.57) | color: lab(42.86 -1.45 -14.57) | |
| LCH | lch(42.86 14.64 264.32) | color: lch(42.86 14.64 264.32) |
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)
#5C5C78 — rgb(92, 92, 120)
Deuteranopia (Green-blind)
#5B5A76 — rgb(91, 90, 118)
Tritanopia (Blue-blind)
#557373 — rgb(85, 115, 115)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(212, 20%, 41%);
text
color: hsl(212, 20%, 41%);
border
border: 2px solid hsl(212, 20%, 41%);
gradient light
background: linear-gradient(to right, hsl(212, 20%, 61%), hsl(212, 20%, 41%));
gradient dark
background: linear-gradient(to right, hsl(212, 20%, 41%), hsl(212, 20%, 21%))
hex
background-color: #54677D;
tailwind
bg-[hsl(212,20%,41%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(212, 20%, 41%, 0.4);
css variable
--color-primary: hsl(212, 20%, 41%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(212, 20%, 41%)?
HEX: #54677D | RGB: rgb(84, 103, 125) | CMYK: 33%, 18%, 0%, 51% | HSV: 212°, 33%, 49%. Copy any format from the conversion table above.
What colors go well with #54677D?
The complementary color is HSL(32, 20%, 41%). For a triadic harmony, use hues 212°, 332°, and 92°. For analogous combinations, try hues 182° and 242°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(212, 20%, 41%) in CSS?
As HSL: color: hsl(212, 20%, 41%); — As HEX: color: #54677D; — As RGB: color: rgb(84, 103, 125); — Tailwind CSS: bg-[hsl(212,20%,41%)] — CSS variable: --color-primary: hsl(212, 20%, 41%);