HSL(235, 49%, 15%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(235,49%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(235, 49%, 15%) | color: hsl(235, 49%, 15%) | |
| HEX | #141739 | color: #141739 | |
| RGB | rgb(20, 23, 57) | color: rgb(20, 23, 57) | |
| CMYK | cmyk(65%, 60%, 0%, 78%) | — | |
| HSV | hsv(235, 65%, 22%) | — | |
| HWB | hwb(235 8% 78%) | color: hwb(235 8% 78%) | |
| OKLCH | oklch(0.2237 0.065 276.01) | color: oklch(0.2237 0.065 276.01) | |
| Lab | lab(9.46 10.86 -22.62) | color: lab(9.46 10.86 -22.62) | |
| LCH | lch(9.46 25.09 295.65) | color: lch(9.46 25.09 295.65) |
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)
#151531 — rgb(21, 21, 49)
Deuteranopia (Green-blind)
#15152F — rgb(21, 21, 47)
Tritanopia (Blue-blind)
#142A29 — rgb(20, 42, 41)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(235, 49%, 15%);
text
color: hsl(235, 49%, 15%);
border
border: 2px solid hsl(235, 49%, 15%);
gradient light
background: linear-gradient(to right, hsl(235, 49%, 35%), hsl(235, 49%, 15%));
gradient dark
background: linear-gradient(to right, hsl(235, 49%, 15%), hsl(235, 49%, 0%))
hex
background-color: #141739;
tailwind
bg-[hsl(235,49%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(235, 49%, 15%, 0.4);
css variable
--color-primary: hsl(235, 49%, 15%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(235, 49%, 15%)?
HEX: #141739 | RGB: rgb(20, 23, 57) | CMYK: 65%, 60%, 0%, 78% | HSV: 235°, 65%, 22%. Copy any format from the conversion table above.
What colors go well with #141739?
The complementary color is HSL(55, 49%, 15%). For a triadic harmony, use hues 235°, 355°, and 115°. For analogous combinations, try hues 205° and 265°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(235, 49%, 15%) in CSS?
As HSL: color: hsl(235, 49%, 15%); — As HEX: color: #141739; — As RGB: color: rgb(20, 23, 57); — Tailwind CSS: bg-[hsl(235,49%,15%)] — CSS variable: --color-primary: hsl(235, 49%, 15%);