HSL(245, 25%, 15%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(245,25%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(245, 25%, 15%) | color: hsl(245, 25%, 15%) | |
| HEX | #1E1D30 | color: #1E1D30 | |
| RGB | rgb(30, 29, 48) | color: rgb(30, 29, 48) | |
| CMYK | cmyk(38%, 40%, 0%, 81%) | — | |
| HSV | hsv(243, 40%, 19%) | — | |
| HWB | hwb(243 11% 81%) | color: hwb(243 11% 81%) | |
| OKLCH | oklch(0.2415 0.036 285.78) | color: oklch(0.2415 0.036 285.78) | |
| Lab | lab(11.74 6.06 -12.44) | color: lab(11.74 6.06 -12.44) | |
| LCH | lch(11.74 13.84 295.97) | color: lch(11.74 13.84 295.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)
#1E1E2B — rgb(30, 30, 43)
Deuteranopia (Green-blind)
#1E1E2A — rgb(30, 30, 42)
Tritanopia (Blue-blind)
#1E2827 — rgb(30, 40, 39)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(245, 25%, 15%);
text
color: hsl(245, 25%, 15%);
border
border: 2px solid hsl(245, 25%, 15%);
gradient light
background: linear-gradient(to right, hsl(245, 25%, 35%), hsl(245, 25%, 15%));
gradient dark
background: linear-gradient(to right, hsl(245, 25%, 15%), hsl(245, 25%, 0%))
hex
background-color: #1E1D30;
tailwind
bg-[hsl(245,25%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(245, 25%, 15%, 0.4);
css variable
--color-primary: hsl(245, 25%, 15%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(245, 25%, 15%)?
HEX: #1E1D30 | RGB: rgb(30, 29, 48) | CMYK: 38%, 40%, 0%, 81% | HSV: 243°, 40%, 19%. Copy any format from the conversion table above.
What colors go well with #1E1D30?
The complementary color is HSL(65, 25%, 15%). 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, 25%, 15%) in CSS?
As HSL: color: hsl(245, 25%, 15%); — As HEX: color: #1E1D30; — As RGB: color: rgb(30, 29, 48); — Tailwind CSS: bg-[hsl(245,25%,15%)] — CSS variable: --color-primary: hsl(245, 25%, 15%);