HSL(204, 50%, 41%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(204,50%,41%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(204, 50%, 41%) | color: hsl(204, 50%, 41%) | |
| HEX | #34739D | color: #34739D | |
| RGB | rgb(52, 115, 157) | color: rgb(52, 115, 157) | |
| CMYK | cmyk(67%, 27%, 0%, 38%) | — | |
| HSV | hsv(204, 67%, 62%) | — | |
| HWB | hwb(204 20% 38%) | color: hwb(204 20% 38%) | |
| OKLCH | oklch(0.5332 0.0923 240.77) | color: oklch(0.5332 0.0923 240.77) | |
| Lab | lab(46.21 -6.43 -28.63) | color: lab(46.21 -6.43 -28.63) | |
| LCH | lch(46.21 29.34 257.34) | color: lch(46.21 29.34 257.34) |
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)
#4F5093 — rgb(79, 80, 147)
Deuteranopia (Green-blind)
#4C4790 — rgb(76, 71, 144)
Tritanopia (Blue-blind)
#378B89 — rgb(55, 139, 137)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(204, 50%, 41%);
text
color: hsl(204, 50%, 41%);
border
border: 2px solid hsl(204, 50%, 41%);
gradient light
background: linear-gradient(to right, hsl(204, 50%, 61%), hsl(204, 50%, 41%));
gradient dark
background: linear-gradient(to right, hsl(204, 50%, 41%), hsl(204, 50%, 21%))
hex
background-color: #34739D;
tailwind
bg-[hsl(204,50%,41%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(204, 50%, 41%, 0.4);
css variable
--color-primary: hsl(204, 50%, 41%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(204, 50%, 41%)?
HEX: #34739D | RGB: rgb(52, 115, 157) | CMYK: 67%, 27%, 0%, 38% | HSV: 204°, 67%, 62%. Copy any format from the conversion table above.
What colors go well with #34739D?
The complementary color is HSL(24, 50%, 41%). For a triadic harmony, use hues 204°, 324°, and 84°. For analogous combinations, try hues 174° and 234°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(204, 50%, 41%) in CSS?
As HSL: color: hsl(204, 50%, 41%); — As HEX: color: #34739D; — As RGB: color: rgb(52, 115, 157); — Tailwind CSS: bg-[hsl(204,50%,41%)] — CSS variable: --color-primary: hsl(204, 50%, 41%);