HSL(204, 40%, 70%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(204,40%,70%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(204, 40%, 70%) | color: hsl(204, 40%, 70%) | |
| HEX | #94B9D1 | color: #94B9D1 | |
| RGB | rgb(148, 185, 209) | color: rgb(148, 185, 209) | |
| CMYK | cmyk(29%, 11%, 0%, 18%) | — | |
| HSV | hsv(204, 29%, 82%) | — | |
| HWB | hwb(204 58% 18%) | color: hwb(204 58% 18%) | |
| OKLCH | oklch(0.7669 0.0527 236.82) | color: oklch(0.7669 0.0527 236.82) | |
| Lab | lab(73.28 -6.84 -16.13) | color: lab(73.28 -6.84 -16.13) | |
| LCH | lch(73.28 17.52 247.02) | color: lch(73.28 17.52 247.02) |
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)
#A4A4CB — rgb(164, 164, 203)
Deuteranopia (Green-blind)
#A29FCA — rgb(162, 159, 202)
Tritanopia (Blue-blind)
#96C7C6 — rgb(150, 199, 198)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(204, 40%, 70%);
text
color: hsl(204, 40%, 70%);
border
border: 2px solid hsl(204, 40%, 70%);
gradient light
background: linear-gradient(to right, hsl(204, 40%, 90%), hsl(204, 40%, 70%));
gradient dark
background: linear-gradient(to right, hsl(204, 40%, 70%), hsl(204, 40%, 50%))
hex
background-color: #94B9D1;
tailwind
bg-[hsl(204,40%,70%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(204, 40%, 70%, 0.4);
css variable
--color-primary: hsl(204, 40%, 70%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(204, 40%, 70%)?
HEX: #94B9D1 | RGB: rgb(148, 185, 209) | CMYK: 29%, 11%, 0%, 18% | HSV: 204°, 29%, 82%. Copy any format from the conversion table above.
What colors go well with #94B9D1?
The complementary color is HSL(24, 40%, 70%). 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, 40%, 70%) in CSS?
As HSL: color: hsl(204, 40%, 70%); — As HEX: color: #94B9D1; — As RGB: color: rgb(148, 185, 209); — Tailwind CSS: bg-[hsl(204,40%,70%)] — CSS variable: --color-primary: hsl(204, 40%, 70%);