HSL(244, 84%, 29%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(244,84%,29%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(244, 84%, 29%) | color: hsl(244, 84%, 29%) | |
| HEX | #140C88 | color: #140C88 | |
| RGB | rgb(20, 12, 136) | color: rgb(20, 12, 136) | |
| CMYK | cmyk(85%, 91%, 0%, 47%) | — | |
| HSV | hsv(244, 91%, 53%) | — | |
| HWB | hwb(244 5% 47%) | color: hwb(244 5% 47%) | |
| OKLCH | oklch(0.3002 0.1849 269.54) | color: oklch(0.3002 0.1849 269.54) | |
| Lab | lab(16.45 45.75 -63.95) | color: lab(16.45 45.75 -63.95) | |
| LCH | lch(16.45 78.63 305.58) | color: lch(16.45 78.63 305.58) |
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)
#11106A — rgb(17, 16, 106)
Deuteranopia (Green-blind)
#111263 — rgb(17, 18, 99)
Tritanopia (Blue-blind)
#14524D — rgb(20, 82, 77)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(244, 84%, 29%);
text
color: hsl(244, 84%, 29%);
border
border: 2px solid hsl(244, 84%, 29%);
gradient light
background: linear-gradient(to right, hsl(244, 84%, 49%), hsl(244, 84%, 29%));
gradient dark
background: linear-gradient(to right, hsl(244, 84%, 29%), hsl(244, 84%, 9%))
hex
background-color: #140C88;
tailwind
bg-[hsl(244,84%,29%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(244, 84%, 29%, 0.4);
css variable
--color-primary: hsl(244, 84%, 29%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(244, 84%, 29%)?
HEX: #140C88 | RGB: rgb(20, 12, 136) | CMYK: 85%, 91%, 0%, 47% | HSV: 244°, 91%, 53%. Copy any format from the conversion table above.
What colors go well with #140C88?
The complementary color is HSL(64, 84%, 29%). For a triadic harmony, use hues 244°, 4°, and 124°. For analogous combinations, try hues 214° and 274°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(244, 84%, 29%) in CSS?
As HSL: color: hsl(244, 84%, 29%); — As HEX: color: #140C88; — As RGB: color: rgb(20, 12, 136); — Tailwind CSS: bg-[hsl(244,84%,29%)] — CSS variable: --color-primary: hsl(244, 84%, 29%);