HSL(247, 70%, 32%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(247,70%,32%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(247, 70%, 32%) | color: hsl(247, 70%, 32%) | |
| HEX | #26188B | color: #26188B | |
| RGB | rgb(38, 24, 139) | color: rgb(38, 24, 139) | |
| CMYK | cmyk(73%, 83%, 0%, 45%) | — | |
| HSV | hsv(247, 83%, 55%) | — | |
| HWB | hwb(247 9% 45%) | color: hwb(247 9% 45%) | |
| OKLCH | oklch(0.3272 0.1753 276.06) | color: oklch(0.3272 0.1753 276.06) | |
| Lab | lab(19.76 42.55 -60.3) | color: lab(19.76 42.55 -60.3) | |
| LCH | lch(19.76 73.8 305.21) | color: lch(19.76 73.8 305.21) |
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)
#20206F — rgb(32, 32, 111)
Deuteranopia (Green-blind)
#212269 — rgb(33, 34, 105)
Tritanopia (Blue-blind)
#255954 — rgb(37, 89, 84)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(247, 70%, 32%);
text
color: hsl(247, 70%, 32%);
border
border: 2px solid hsl(247, 70%, 32%);
gradient light
background: linear-gradient(to right, hsl(247, 70%, 52%), hsl(247, 70%, 32%));
gradient dark
background: linear-gradient(to right, hsl(247, 70%, 32%), hsl(247, 70%, 12%))
hex
background-color: #26188B;
tailwind
bg-[hsl(247,70%,32%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(247, 70%, 32%, 0.4);
css variable
--color-primary: hsl(247, 70%, 32%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(247, 70%, 32%)?
HEX: #26188B | RGB: rgb(38, 24, 139) | CMYK: 73%, 83%, 0%, 45% | HSV: 247°, 83%, 55%. Copy any format from the conversion table above.
What colors go well with #26188B?
The complementary color is HSL(67, 70%, 32%). 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%, 32%) in CSS?
As HSL: color: hsl(247, 70%, 32%); — As HEX: color: #26188B; — As RGB: color: rgb(38, 24, 139); — Tailwind CSS: bg-[hsl(247,70%,32%)] — CSS variable: --color-primary: hsl(247, 70%, 32%);