HSL(207, 95%, 29%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(207,95%,29%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(207, 95%, 29%) | color: hsl(207, 95%, 29%) | |
| HEX | #045190 | color: #045190 | |
| RGB | rgb(4, 81, 144) | color: rgb(4, 81, 144) | |
| CMYK | cmyk(97%, 44%, 0%, 44%) | — | |
| HSV | hsv(207, 97%, 56%) | — | |
| HWB | hwb(207 2% 44%) | color: hwb(207 2% 44%) | |
| OKLCH | oklch(0.4301 0.1229 251.06) | color: oklch(0.4301 0.1229 251.06) | |
| Lab | lab(33.82 4.6 -40.5) | color: lab(33.82 4.6 -40.5) | |
| LCH | lch(33.82 40.76 276.48) | color: lch(33.82 40.76 276.48) |
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)
#252681 — rgb(37, 38, 129)
Deuteranopia (Green-blind)
#211B7D — rgb(33, 27, 125)
Tritanopia (Blue-blind)
#087572 — rgb(8, 117, 114)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(207, 95%, 29%);
text
color: hsl(207, 95%, 29%);
border
border: 2px solid hsl(207, 95%, 29%);
gradient light
background: linear-gradient(to right, hsl(207, 95%, 49%), hsl(207, 95%, 29%));
gradient dark
background: linear-gradient(to right, hsl(207, 95%, 29%), hsl(207, 95%, 9%))
hex
background-color: #045190;
tailwind
bg-[hsl(207,95%,29%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(207, 95%, 29%, 0.4);
css variable
--color-primary: hsl(207, 95%, 29%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(207, 95%, 29%)?
HEX: #045190 | RGB: rgb(4, 81, 144) | CMYK: 97%, 44%, 0%, 44% | HSV: 207°, 97%, 56%. Copy any format from the conversion table above.
What colors go well with #045190?
The complementary color is HSL(27, 95%, 29%). For a triadic harmony, use hues 207°, 327°, and 87°. For analogous combinations, try hues 177° and 237°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(207, 95%, 29%) in CSS?
As HSL: color: hsl(207, 95%, 29%); — As HEX: color: #045190; — As RGB: color: rgb(4, 81, 144); — Tailwind CSS: bg-[hsl(207,95%,29%)] — CSS variable: --color-primary: hsl(207, 95%, 29%);