HSL(244, 42%, 47%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(244,42%,47%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(244, 42%, 47%) | color: hsl(244, 42%, 47%) | |
| HEX | #4C46AA | color: #4C46AA | |
| RGB | rgb(76, 70, 170) | color: rgb(76, 70, 170) | |
| CMYK | cmyk(55%, 59%, 0%, 33%) | — | |
| HSV | hsv(244, 59%, 67%) | — | |
| HWB | hwb(244 27% 33%) | color: hwb(244 27% 33%) | |
| OKLCH | oklch(0.4578 0.1551 281.04) | color: oklch(0.4578 0.1551 281.04) | |
| Lab | lab(35.63 31.2 -53.1) | color: lab(35.63 31.2 -53.1) | |
| LCH | lch(35.63 61.59 300.44) | color: lch(35.63 61.59 300.44) |
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)
#494992 — rgb(73, 73, 146)
Deuteranopia (Green-blind)
#4A4A8C — rgb(74, 74, 140)
Tritanopia (Blue-blind)
#4C7F7B — rgb(76, 127, 123)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(244, 42%, 47%);
text
color: hsl(244, 42%, 47%);
border
border: 2px solid hsl(244, 42%, 47%);
gradient light
background: linear-gradient(to right, hsl(244, 42%, 67%), hsl(244, 42%, 47%));
gradient dark
background: linear-gradient(to right, hsl(244, 42%, 47%), hsl(244, 42%, 27%))
hex
background-color: #4C46AA;
tailwind
bg-[hsl(244,42%,47%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(244, 42%, 47%, 0.4);
css variable
--color-primary: hsl(244, 42%, 47%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(244, 42%, 47%)?
HEX: #4C46AA | RGB: rgb(76, 70, 170) | CMYK: 55%, 59%, 0%, 33% | HSV: 244°, 59%, 67%. Copy any format from the conversion table above.
What colors go well with #4C46AA?
The complementary color is HSL(64, 42%, 47%). 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, 42%, 47%) in CSS?
As HSL: color: hsl(244, 42%, 47%); — As HEX: color: #4C46AA; — As RGB: color: rgb(76, 70, 170); — Tailwind CSS: bg-[hsl(244,42%,47%)] — CSS variable: --color-primary: hsl(244, 42%, 47%);