HSL(247, 94%, 29%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(247,94%,29%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(247, 94%, 29%) | color: hsl(247, 94%, 29%) | |
| HEX | #15048F | color: #15048F | |
| RGB | rgb(21, 4, 143) | color: rgb(21, 4, 143) | |
| CMYK | cmyk(85%, 97%, 0%, 44%) | — | |
| HSV | hsv(247, 97%, 56%) | — | |
| HWB | hwb(247 2% 44%) | color: hwb(247 2% 44%) | |
| OKLCH | oklch(0.3045 0.1964 269.53) | color: oklch(0.3045 0.1964 269.53) | |
| Lab | lab(16.64 50.42 -68) | color: lab(16.64 50.42 -68) | |
| LCH | lch(16.64 84.65 306.56) | color: lch(16.64 84.65 306.56) |
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)
#0E0D6D — rgb(14, 13, 109)
Deuteranopia (Green-blind)
#0F1065 — rgb(15, 16, 101)
Tritanopia (Blue-blind)
#14534D — rgb(20, 83, 77)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(247, 94%, 29%);
text
color: hsl(247, 94%, 29%);
border
border: 2px solid hsl(247, 94%, 29%);
gradient light
background: linear-gradient(to right, hsl(247, 94%, 49%), hsl(247, 94%, 29%));
gradient dark
background: linear-gradient(to right, hsl(247, 94%, 29%), hsl(247, 94%, 9%))
hex
background-color: #15048F;
tailwind
bg-[hsl(247,94%,29%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(247, 94%, 29%, 0.4);
css variable
--color-primary: hsl(247, 94%, 29%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(247, 94%, 29%)?
HEX: #15048F | RGB: rgb(21, 4, 143) | CMYK: 85%, 97%, 0%, 44% | HSV: 247°, 97%, 56%. Copy any format from the conversion table above.
What colors go well with #15048F?
The complementary color is HSL(67, 94%, 29%). For a triadic harmony, use hues 247°, 7°, and 127°. For analogous combinations, try hues 217° and 277°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(247, 94%, 29%) in CSS?
As HSL: color: hsl(247, 94%, 29%); — As HEX: color: #15048F; — As RGB: color: rgb(21, 4, 143); — Tailwind CSS: bg-[hsl(247,94%,29%)] — CSS variable: --color-primary: hsl(247, 94%, 29%);