HSL(204, 72%, 56%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(204,72%,56%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(204, 72%, 56%) | color: hsl(204, 72%, 56%) | |
| HEX | #3E9FE0 | color: #3E9FE0 | |
| RGB | rgb(62, 159, 224) | color: rgb(62, 159, 224) | |
| CMYK | cmyk(72%, 29%, 0%, 12%) | — | |
| HSV | hsv(204, 72%, 88%) | — | |
| HWB | hwb(204 25% 12%) | color: hwb(204 25% 12%) | |
| OKLCH | oklch(0.6745 0.1314 242) | color: oklch(0.6745 0.1314 242) | |
| Lab | lab(62.68 -7.08 -41.03) | color: lab(62.68 -7.08 -41.03) | |
| LCH | lch(62.68 41.64 260.21) | color: lch(62.68 41.64 260.21) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#6869D0 — rgb(104, 105, 208)
Deuteranopia (Green-blind)
#625BCD — rgb(98, 91, 205)
Tritanopia (Blue-blind)
#43C4C1 — rgb(67, 196, 193)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(204, 72%, 56%);
text
color: hsl(204, 72%, 56%);
border
border: 2px solid hsl(204, 72%, 56%);
gradient light
background: linear-gradient(to right, hsl(204, 72%, 76%), hsl(204, 72%, 56%));
gradient dark
background: linear-gradient(to right, hsl(204, 72%, 56%), hsl(204, 72%, 36%))
hex
background-color: #3E9FE0;
tailwind
bg-[hsl(204,72%,56%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(204, 72%, 56%, 0.4);
css variable
--color-primary: hsl(204, 72%, 56%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(204, 72%, 56%)?
HEX: #3E9FE0 | RGB: rgb(62, 159, 224) | CMYK: 72%, 29%, 0%, 12% | HSV: 204°, 72%, 88%. Copy any format from the conversion table above.
What colors go well with #3E9FE0?
The complementary color is HSL(24, 72%, 56%). 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, 72%, 56%) in CSS?
As HSL: color: hsl(204, 72%, 56%); — As HEX: color: #3E9FE0; — As RGB: color: rgb(62, 159, 224); — Tailwind CSS: bg-[hsl(204,72%,56%)] — CSS variable: --color-primary: hsl(204, 72%, 56%);