HSL(247, 70%, 24%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(247,70%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(247, 70%, 24%) | color: hsl(247, 70%, 24%) | |
| HEX | #1C1268 | color: #1C1268 | |
| RGB | rgb(28, 18, 104) | color: rgb(28, 18, 104) | |
| CMYK | cmyk(73%, 83%, 0%, 59%) | — | |
| HSV | hsv(247, 83%, 41%) | — | |
| HWB | hwb(247 7% 59%) | color: hwb(247 7% 59%) | |
| OKLCH | oklch(0.2707 0.1394 276.85) | color: oklch(0.2707 0.1394 276.85) | |
| Lab | lab(13.7 33.31 -47.9) | color: lab(13.7 33.31 -47.9) | |
| LCH | lch(13.7 58.34 304.82) | color: lch(13.7 58.34 304.82) |
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)
#181853 — rgb(24, 24, 83)
Deuteranopia (Green-blind)
#18194E — rgb(24, 25, 78)
Tritanopia (Blue-blind)
#1C433F — rgb(28, 67, 63)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(247, 70%, 24%);
text
color: hsl(247, 70%, 24%);
border
border: 2px solid hsl(247, 70%, 24%);
gradient light
background: linear-gradient(to right, hsl(247, 70%, 44%), hsl(247, 70%, 24%));
gradient dark
background: linear-gradient(to right, hsl(247, 70%, 24%), hsl(247, 70%, 4%))
hex
background-color: #1C1268;
tailwind
bg-[hsl(247,70%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(247, 70%, 24%, 0.4);
css variable
--color-primary: hsl(247, 70%, 24%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(247, 70%, 24%)?
HEX: #1C1268 | RGB: rgb(28, 18, 104) | CMYK: 73%, 83%, 0%, 59% | HSV: 247°, 83%, 41%. Copy any format from the conversion table above.
What colors go well with #1C1268?
The complementary color is HSL(67, 70%, 24%). For a triadic harmony, use hues 247°, 7°, and 127°. For analogous combinations, try hues 217° and 277°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(247, 70%, 24%) in CSS?
As HSL: color: hsl(247, 70%, 24%); — As HEX: color: #1C1268; — As RGB: color: rgb(28, 18, 104); — Tailwind CSS: bg-[hsl(247,70%,24%)] — CSS variable: --color-primary: hsl(247, 70%, 24%);