HSL(204, 90%, 18%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(204,90%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(204, 90%, 18%) | color: hsl(204, 90%, 18%) | |
| HEX | #053657 | color: #053657 | |
| RGB | rgb(5, 54, 87) | color: rgb(5, 54, 87) | |
| CMYK | cmyk(94%, 38%, 0%, 66%) | — | |
| HSV | hsv(204, 94%, 34%) | — | |
| HWB | hwb(204 2% 66%) | color: hwb(204 2% 66%) | |
| OKLCH | oklch(0.3213 0.0762 244.78) | color: oklch(0.3213 0.0762 244.78) | |
| Lab | lab(21.43 -1.54 -24.18) | color: lab(21.43 -1.54 -24.18) | |
| LCH | lch(21.43 24.23 266.36) | color: lch(21.43 24.23 266.36) |
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)
#1A1B4F — rgb(26, 27, 79)
Deuteranopia (Green-blind)
#17144D — rgb(23, 20, 77)
Tritanopia (Blue-blind)
#074947 — rgb(7, 73, 71)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(204, 90%, 18%);
text
color: hsl(204, 90%, 18%);
border
border: 2px solid hsl(204, 90%, 18%);
gradient light
background: linear-gradient(to right, hsl(204, 90%, 38%), hsl(204, 90%, 18%));
gradient dark
background: linear-gradient(to right, hsl(204, 90%, 18%), hsl(204, 90%, 0%))
hex
background-color: #053657;
tailwind
bg-[hsl(204,90%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(204, 90%, 18%, 0.4);
css variable
--color-primary: hsl(204, 90%, 18%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(204, 90%, 18%)?
HEX: #053657 | RGB: rgb(5, 54, 87) | CMYK: 94%, 38%, 0%, 66% | HSV: 204°, 94%, 34%. Copy any format from the conversion table above.
What colors go well with #053657?
The complementary color is HSL(24, 90%, 18%). 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, 90%, 18%) in CSS?
As HSL: color: hsl(204, 90%, 18%); — As HEX: color: #053657; — As RGB: color: rgb(5, 54, 87); — Tailwind CSS: bg-[hsl(204,90%,18%)] — CSS variable: --color-primary: hsl(204, 90%, 18%);