HSL(245, 92%, 17%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(245,92%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(245, 92%, 17%) | color: hsl(245, 92%, 17%) | |
| HEX | #0A0353 | color: #0A0353 | |
| RGB | rgb(10, 3, 83) | color: rgb(10, 3, 83) | |
| CMYK | cmyk(88%, 96%, 0%, 67%) | — | |
| HSV | hsv(245, 96%, 33%) | — | |
| HWB | hwb(245 1% 67%) | color: hwb(245 1% 67%) | |
| OKLCH | oklch(0.2112 0.1311 270.81) | color: oklch(0.2112 0.1311 270.81) | |
| Lab | lab(6.81 32.91 -45.26) | color: lab(6.81 32.91 -45.26) | |
| LCH | lch(6.81 55.96 306.02) | color: lch(6.81 55.96 306.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: white
Color Blindness Simulation
Protanopia (Red-blind)
#070740 — rgb(7, 7, 64)
Deuteranopia (Green-blind)
#07083B — rgb(7, 8, 59)
Tritanopia (Blue-blind)
#0A302D — rgb(10, 48, 45)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(245, 92%, 17%);
text
color: hsl(245, 92%, 17%);
border
border: 2px solid hsl(245, 92%, 17%);
gradient light
background: linear-gradient(to right, hsl(245, 92%, 37%), hsl(245, 92%, 17%));
gradient dark
background: linear-gradient(to right, hsl(245, 92%, 17%), hsl(245, 92%, 0%))
hex
background-color: #0A0353;
tailwind
bg-[hsl(245,92%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(245, 92%, 17%, 0.4);
css variable
--color-primary: hsl(245, 92%, 17%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(245, 92%, 17%)?
HEX: #0A0353 | RGB: rgb(10, 3, 83) | CMYK: 88%, 96%, 0%, 67% | HSV: 245°, 96%, 33%. Copy any format from the conversion table above.
What colors go well with #0A0353?
The complementary color is HSL(65, 92%, 17%). For a triadic harmony, use hues 245°, 5°, and 125°. For analogous combinations, try hues 215° and 275°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(245, 92%, 17%) in CSS?
As HSL: color: hsl(245, 92%, 17%); — As HEX: color: #0A0353; — As RGB: color: rgb(10, 3, 83); — Tailwind CSS: bg-[hsl(245,92%,17%)] — CSS variable: --color-primary: hsl(245, 92%, 17%);