HSL(244, 75%, 20%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(244,75%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(244, 75%, 20%) | color: hsl(244, 75%, 20%) | |
| HEX | #120D59 | color: #120D59 | |
| RGB | rgb(18, 13, 89) | color: rgb(18, 13, 89) | |
| CMYK | cmyk(80%, 85%, 0%, 65%) | — | |
| HSV | hsv(244, 85%, 35%) | — | |
| HWB | hwb(244 5% 65%) | color: hwb(244 5% 65%) | |
| OKLCH | oklch(0.238 0.1272 273.77) | color: oklch(0.238 0.1272 273.77) | |
| Lab | lab(10.09 29.96 -43.89) | color: lab(10.09 29.96 -43.89) | |
| LCH | lch(10.09 53.14 304.32) | color: lch(10.09 53.14 304.32) |
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)
#101047 — rgb(16, 16, 71)
Deuteranopia (Green-blind)
#101142 — rgb(16, 17, 66)
Tritanopia (Blue-blind)
#123835 — rgb(18, 56, 53)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(244, 75%, 20%);
text
color: hsl(244, 75%, 20%);
border
border: 2px solid hsl(244, 75%, 20%);
gradient light
background: linear-gradient(to right, hsl(244, 75%, 40%), hsl(244, 75%, 20%));
gradient dark
background: linear-gradient(to right, hsl(244, 75%, 20%), hsl(244, 75%, 0%))
hex
background-color: #120D59;
tailwind
bg-[hsl(244,75%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(244, 75%, 20%, 0.4);
css variable
--color-primary: hsl(244, 75%, 20%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(244, 75%, 20%)?
HEX: #120D59 | RGB: rgb(18, 13, 89) | CMYK: 80%, 85%, 0%, 65% | HSV: 244°, 85%, 35%. Copy any format from the conversion table above.
What colors go well with #120D59?
The complementary color is HSL(64, 75%, 20%). 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, 75%, 20%) in CSS?
As HSL: color: hsl(244, 75%, 20%); — As HEX: color: #120D59; — As RGB: color: rgb(18, 13, 89); — Tailwind CSS: bg-[hsl(244,75%,20%)] — CSS variable: --color-primary: hsl(244, 75%, 20%);