HSL(247, 89%, 25%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(247,89%,25%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(247, 89%, 25%) | color: hsl(247, 89%, 25%) | |
| HEX | #140778 | color: #140778 | |
| RGB | rgb(20, 7, 120) | color: rgb(20, 7, 120) | |
| CMYK | cmyk(83%, 94%, 0%, 53%) | — | |
| HSV | hsv(247, 94%, 47%) | — | |
| HWB | hwb(247 3% 53%) | color: hwb(247 3% 53%) | |
| OKLCH | oklch(0.2744 0.1693 271.16) | color: oklch(0.2744 0.1693 271.16) | |
| Lab | lab(13.57 42.82 -58.56) | color: lab(13.57 42.82 -58.56) | |
| LCH | lch(13.57 72.55 306.17) | color: lch(13.57 72.55 306.17) |
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)
#0E0E5D — rgb(14, 14, 93)
Deuteranopia (Green-blind)
#0F1056 — rgb(15, 16, 86)
Tritanopia (Blue-blind)
#134742 — rgb(19, 71, 66)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(247, 89%, 25%);
text
color: hsl(247, 89%, 25%);
border
border: 2px solid hsl(247, 89%, 25%);
gradient light
background: linear-gradient(to right, hsl(247, 89%, 45%), hsl(247, 89%, 25%));
gradient dark
background: linear-gradient(to right, hsl(247, 89%, 25%), hsl(247, 89%, 5%))
hex
background-color: #140778;
tailwind
bg-[hsl(247,89%,25%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(247, 89%, 25%, 0.4);
css variable
--color-primary: hsl(247, 89%, 25%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(247, 89%, 25%)?
HEX: #140778 | RGB: rgb(20, 7, 120) | CMYK: 83%, 94%, 0%, 53% | HSV: 247°, 94%, 47%. Copy any format from the conversion table above.
What colors go well with #140778?
The complementary color is HSL(67, 89%, 25%). 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, 89%, 25%) in CSS?
As HSL: color: hsl(247, 89%, 25%); — As HEX: color: #140778; — As RGB: color: rgb(20, 7, 120); — Tailwind CSS: bg-[hsl(247,89%,25%)] — CSS variable: --color-primary: hsl(247, 89%, 25%);