HSL(244, 55%, 22%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(244,55%,22%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(244, 55%, 22%) | color: hsl(244, 55%, 22%) | |
| HEX | #1D1957 | color: #1D1957 | |
| RGB | rgb(29, 25, 87) | color: rgb(29, 25, 87) | |
| CMYK | cmyk(67%, 71%, 0%, 66%) | — | |
| HSV | hsv(244, 71%, 34%) | — | |
| HWB | hwb(244 10% 66%) | color: hwb(244 10% 66%) | |
| OKLCH | oklch(0.2639 0.1076 278.93) | color: oklch(0.2639 0.1076 278.93) | |
| Lab | lab(13.5 23.01 -36.89) | color: lab(13.5 23.01 -36.89) | |
| LCH | lch(13.5 43.48 301.95) | color: lch(13.5 43.48 301.95) |
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)
#1B1B48 — rgb(27, 27, 72)
Deuteranopia (Green-blind)
#1C1C44 — rgb(28, 28, 68)
Tritanopia (Blue-blind)
#1D3C3A — rgb(29, 60, 58)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(244, 55%, 22%);
text
color: hsl(244, 55%, 22%);
border
border: 2px solid hsl(244, 55%, 22%);
gradient light
background: linear-gradient(to right, hsl(244, 55%, 42%), hsl(244, 55%, 22%));
gradient dark
background: linear-gradient(to right, hsl(244, 55%, 22%), hsl(244, 55%, 2%))
hex
background-color: #1D1957;
tailwind
bg-[hsl(244,55%,22%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(244, 55%, 22%, 0.4);
css variable
--color-primary: hsl(244, 55%, 22%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(244, 55%, 22%)?
HEX: #1D1957 | RGB: rgb(29, 25, 87) | CMYK: 67%, 71%, 0%, 66% | HSV: 244°, 71%, 34%. Copy any format from the conversion table above.
What colors go well with #1D1957?
The complementary color is HSL(64, 55%, 22%). 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, 55%, 22%) in CSS?
As HSL: color: hsl(244, 55%, 22%); — As HEX: color: #1D1957; — As RGB: color: rgb(29, 25, 87); — Tailwind CSS: bg-[hsl(244,55%,22%)] — CSS variable: --color-primary: hsl(244, 55%, 22%);