HSL(207, 94%, 29%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(207,94%,29%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(207, 94%, 29%) | color: hsl(207, 94%, 29%) | |
| HEX | #04518F | color: #04518F | |
| RGB | rgb(4, 81, 143) | color: rgb(4, 81, 143) | |
| CMYK | cmyk(97%, 43%, 0%, 44%) | — | |
| HSV | hsv(207, 97%, 56%) | — | |
| HWB | hwb(207 2% 44%) | color: hwb(207 2% 44%) | |
| OKLCH | oklch(0.4294 0.1215 250.72) | color: oklch(0.4294 0.1215 250.72) | |
| Lab | lab(33.76 4.18 -39.99) | color: lab(33.76 4.18 -39.99) | |
| LCH | lch(33.76 40.21 275.97) | color: lch(33.76 40.21 275.97) |
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)
#252680 — rgb(37, 38, 128)
Deuteranopia (Green-blind)
#211B7C — rgb(33, 27, 124)
Tritanopia (Blue-blind)
#087472 — rgb(8, 116, 114)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(207, 94%, 29%);
text
color: hsl(207, 94%, 29%);
border
border: 2px solid hsl(207, 94%, 29%);
gradient light
background: linear-gradient(to right, hsl(207, 94%, 49%), hsl(207, 94%, 29%));
gradient dark
background: linear-gradient(to right, hsl(207, 94%, 29%), hsl(207, 94%, 9%))
hex
background-color: #04518F;
tailwind
bg-[hsl(207,94%,29%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(207, 94%, 29%, 0.4);
css variable
--color-primary: hsl(207, 94%, 29%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(207, 94%, 29%)?
HEX: #04518F | RGB: rgb(4, 81, 143) | CMYK: 97%, 43%, 0%, 44% | HSV: 207°, 97%, 56%. Copy any format from the conversion table above.
What colors go well with #04518F?
The complementary color is HSL(27, 94%, 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, 94%, 29%) in CSS?
As HSL: color: hsl(207, 94%, 29%); — As HEX: color: #04518F; — As RGB: color: rgb(4, 81, 143); — Tailwind CSS: bg-[hsl(207,94%,29%)] — CSS variable: --color-primary: hsl(207, 94%, 29%);