HSL(223, 20%, 41%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(223,20%,41%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(223, 20%, 41%) | color: hsl(223, 20%, 41%) | |
| HEX | #545F7D | color: #545F7D | |
| RGB | rgb(84, 95, 125) | color: rgb(84, 95, 125) | |
| CMYK | cmyk(33%, 24%, 0%, 51%) | — | |
| HSV | hsv(224, 33%, 49%) | — | |
| HWB | hwb(224 33% 51%) | color: hwb(224 33% 51%) | |
| OKLCH | oklch(0.4882 0.0503 268.88) | color: oklch(0.4882 0.0503 268.88) | |
| Lab | lab(40.49 3.44 -18.2) | color: lab(40.49 3.44 -18.2) | |
| LCH | lch(40.49 18.52 280.7) | color: lch(40.49 18.52 280.7) |
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)
#595976 — rgb(89, 89, 118)
Deuteranopia (Green-blind)
#585774 — rgb(88, 87, 116)
Tritanopia (Blue-blind)
#55706F — rgb(85, 112, 111)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(223, 20%, 41%);
text
color: hsl(223, 20%, 41%);
border
border: 2px solid hsl(223, 20%, 41%);
gradient light
background: linear-gradient(to right, hsl(223, 20%, 61%), hsl(223, 20%, 41%));
gradient dark
background: linear-gradient(to right, hsl(223, 20%, 41%), hsl(223, 20%, 21%))
hex
background-color: #545F7D;
tailwind
bg-[hsl(223,20%,41%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(223, 20%, 41%, 0.4);
css variable
--color-primary: hsl(223, 20%, 41%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(223, 20%, 41%)?
HEX: #545F7D | RGB: rgb(84, 95, 125) | CMYK: 33%, 24%, 0%, 51% | HSV: 224°, 33%, 49%. Copy any format from the conversion table above.
What colors go well with #545F7D?
The complementary color is HSL(43, 20%, 41%). For a triadic harmony, use hues 223°, 343°, and 103°. For analogous combinations, try hues 193° and 253°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(223, 20%, 41%) in CSS?
As HSL: color: hsl(223, 20%, 41%); — As HEX: color: #545F7D; — As RGB: color: rgb(84, 95, 125); — Tailwind CSS: bg-[hsl(223,20%,41%)] — CSS variable: --color-primary: hsl(223, 20%, 41%);