HSL(247, 75%, 24%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(247,75%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(247, 75%, 24%) | color: hsl(247, 75%, 24%) | |
| HEX | #1A0F6B | color: #1A0F6B | |
| RGB | rgb(26, 15, 107) | color: rgb(26, 15, 107) | |
| CMYK | cmyk(76%, 86%, 0%, 58%) | — | |
| HSV | hsv(247, 86%, 42%) | — | |
| HWB | hwb(247 6% 58%) | color: hwb(247 6% 58%) | |
| OKLCH | oklch(0.2691 0.1465 275.52) | color: oklch(0.2691 0.1465 275.52) | |
| Lab | lab(13.37 35.7 -50.43) | color: lab(13.37 35.7 -50.43) | |
| LCH | lch(13.37 61.79 305.3) | color: lch(13.37 61.79 305.3) |
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)
#151555 — rgb(21, 21, 85)
Deuteranopia (Green-blind)
#16174F — rgb(22, 23, 79)
Tritanopia (Blue-blind)
#19433F — rgb(25, 67, 63)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(247, 75%, 24%);
text
color: hsl(247, 75%, 24%);
border
border: 2px solid hsl(247, 75%, 24%);
gradient light
background: linear-gradient(to right, hsl(247, 75%, 44%), hsl(247, 75%, 24%));
gradient dark
background: linear-gradient(to right, hsl(247, 75%, 24%), hsl(247, 75%, 4%))
hex
background-color: #1A0F6B;
tailwind
bg-[hsl(247,75%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(247, 75%, 24%, 0.4);
css variable
--color-primary: hsl(247, 75%, 24%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(247, 75%, 24%)?
HEX: #1A0F6B | RGB: rgb(26, 15, 107) | CMYK: 76%, 86%, 0%, 58% | HSV: 247°, 86%, 42%. Copy any format from the conversion table above.
What colors go well with #1A0F6B?
The complementary color is HSL(67, 75%, 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, 75%, 24%) in CSS?
As HSL: color: hsl(247, 75%, 24%); — As HEX: color: #1A0F6B; — As RGB: color: rgb(26, 15, 107); — Tailwind CSS: bg-[hsl(247,75%,24%)] — CSS variable: --color-primary: hsl(247, 75%, 24%);