HSL(253, 50%, 16%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(253,50%,16%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(253, 50%, 16%) | color: hsl(253, 50%, 16%) | |
| HEX | #1D143D | color: #1D143D | |
| RGB | rgb(29, 20, 61) | color: rgb(29, 20, 61) | |
| CMYK | cmyk(52%, 67%, 0%, 76%) | — | |
| HSV | hsv(253, 67%, 24%) | — | |
| HWB | hwb(253 8% 76%) | color: hwb(253 8% 76%) | |
| OKLCH | oklch(0.2294 0.0753 289.19) | color: oklch(0.2294 0.0753 289.19) | |
| Lab | lab(9.79 16.97 -24.9) | color: lab(9.79 16.97 -24.9) | |
| LCH | lch(9.79 30.13 304.28) | color: lch(9.79 30.13 304.28) |
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)
#191933 — rgb(25, 25, 51)
Deuteranopia (Green-blind)
#1A1A31 — rgb(26, 26, 49)
Tritanopia (Blue-blind)
#1D2B2A — rgb(29, 43, 42)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(253, 50%, 16%);
text
color: hsl(253, 50%, 16%);
border
border: 2px solid hsl(253, 50%, 16%);
gradient light
background: linear-gradient(to right, hsl(253, 50%, 36%), hsl(253, 50%, 16%));
gradient dark
background: linear-gradient(to right, hsl(253, 50%, 16%), hsl(253, 50%, 0%))
hex
background-color: #1D143D;
tailwind
bg-[hsl(253,50%,16%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(253, 50%, 16%, 0.4);
css variable
--color-primary: hsl(253, 50%, 16%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(253, 50%, 16%)?
HEX: #1D143D | RGB: rgb(29, 20, 61) | CMYK: 52%, 67%, 0%, 76% | HSV: 253°, 67%, 24%. Copy any format from the conversion table above.
What colors go well with #1D143D?
The complementary color is HSL(73, 50%, 16%). For a triadic harmony, use hues 253°, 13°, and 133°. For analogous combinations, try hues 223° and 283°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(253, 50%, 16%) in CSS?
As HSL: color: hsl(253, 50%, 16%); — As HEX: color: #1D143D; — As RGB: color: rgb(29, 20, 61); — Tailwind CSS: bg-[hsl(253,50%,16%)] — CSS variable: --color-primary: hsl(253, 50%, 16%);