HSL(247, 90%, 16%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(247,90%,16%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(247, 90%, 16%) | color: hsl(247, 90%, 16%) | |
| HEX | #0D044E | color: #0D044E | |
| RGB | rgb(13, 4, 78) | color: rgb(13, 4, 78) | |
| CMYK | cmyk(83%, 95%, 0%, 69%) | — | |
| HSV | hsv(247, 95%, 31%) | — | |
| HWB | hwb(247 2% 69%) | color: hwb(247 2% 69%) | |
| OKLCH | oklch(0.2074 0.1229 273.59) | color: oklch(0.2074 0.1229 273.59) | |
| Lab | lab(6.52 30.63 -42.27) | color: lab(6.52 30.63 -42.27) | |
| LCH | lch(6.52 52.2 305.93) | color: lch(6.52 52.2 305.93) |
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)
#09093C — rgb(9, 9, 60)
Deuteranopia (Green-blind)
#0A0A38 — rgb(10, 10, 56)
Tritanopia (Blue-blind)
#0D2E2B — rgb(13, 46, 43)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(247, 90%, 16%);
text
color: hsl(247, 90%, 16%);
border
border: 2px solid hsl(247, 90%, 16%);
gradient light
background: linear-gradient(to right, hsl(247, 90%, 36%), hsl(247, 90%, 16%));
gradient dark
background: linear-gradient(to right, hsl(247, 90%, 16%), hsl(247, 90%, 0%))
hex
background-color: #0D044E;
tailwind
bg-[hsl(247,90%,16%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(247, 90%, 16%, 0.4);
css variable
--color-primary: hsl(247, 90%, 16%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(247, 90%, 16%)?
HEX: #0D044E | RGB: rgb(13, 4, 78) | CMYK: 83%, 95%, 0%, 69% | HSV: 247°, 95%, 31%. Copy any format from the conversion table above.
What colors go well with #0D044E?
The complementary color is HSL(67, 90%, 16%). 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, 90%, 16%) in CSS?
As HSL: color: hsl(247, 90%, 16%); — As HEX: color: #0D044E; — As RGB: color: rgb(13, 4, 78); — Tailwind CSS: bg-[hsl(247,90%,16%)] — CSS variable: --color-primary: hsl(247, 90%, 16%);