HSL(248, 35%, 15%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(248,35%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(248, 35%, 15%) | color: hsl(248, 35%, 15%) | |
| HEX | #1C1934 | color: #1C1934 | |
| RGB | rgb(28, 25, 52) | color: rgb(28, 25, 52) | |
| CMYK | cmyk(46%, 52%, 0%, 80%) | — | |
| HSV | hsv(247, 52%, 20%) | — | |
| HWB | hwb(247 10% 80%) | color: hwb(247 10% 80%) | |
| OKLCH | oklch(0.2322 0.051 286.8) | color: oklch(0.2322 0.051 286.8) | |
| Lab | lab(10.48 9.74 -17.33) | color: lab(10.48 9.74 -17.33) | |
| LCH | lch(10.48 19.88 299.34) | color: lch(10.48 19.88 299.34) |
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)
#1B1B2D — rgb(27, 27, 45)
Deuteranopia (Green-blind)
#1B1B2C — rgb(27, 27, 44)
Tritanopia (Blue-blind)
#1C2827 — rgb(28, 40, 39)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(248, 35%, 15%);
text
color: hsl(248, 35%, 15%);
border
border: 2px solid hsl(248, 35%, 15%);
gradient light
background: linear-gradient(to right, hsl(248, 35%, 35%), hsl(248, 35%, 15%));
gradient dark
background: linear-gradient(to right, hsl(248, 35%, 15%), hsl(248, 35%, 0%))
hex
background-color: #1C1934;
tailwind
bg-[hsl(248,35%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(248, 35%, 15%, 0.4);
css variable
--color-primary: hsl(248, 35%, 15%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(248, 35%, 15%)?
HEX: #1C1934 | RGB: rgb(28, 25, 52) | CMYK: 46%, 52%, 0%, 80% | HSV: 247°, 52%, 20%. Copy any format from the conversion table above.
What colors go well with #1C1934?
The complementary color is HSL(68, 35%, 15%). For a triadic harmony, use hues 248°, 8°, and 128°. For analogous combinations, try hues 218° and 278°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(248, 35%, 15%) in CSS?
As HSL: color: hsl(248, 35%, 15%); — As HEX: color: #1C1934; — As RGB: color: rgb(28, 25, 52); — Tailwind CSS: bg-[hsl(248,35%,15%)] — CSS variable: --color-primary: hsl(248, 35%, 15%);