HSL(247, 90%, 45%)
Vivid Blue — Blue color
Adjust Color
Color Information
Color Name
Vivid Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(247,90%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(247, 90%, 45%) | color: hsl(247, 90%, 45%) | |
| HEX | #240BDA | color: #240BDA | |
| RGB | rgb(36, 11, 218) | color: rgb(36, 11, 218) | |
| CMYK | cmyk(83%, 95%, 0%, 15%) | — | |
| HSV | hsv(247, 95%, 85%) | — | |
| HWB | hwb(247 4% 15%) | color: hwb(247 4% 15%) | |
| OKLCH | oklch(0.4156 0.2687 269.13) | color: oklch(0.4156 0.2687 269.13) | |
| Lab | lab(28.58 68.72 -93) | color: lab(28.58 68.72 -93) | |
| LCH | lch(28.58 115.63 306.46) | color: lch(28.58 115.63 306.46) |
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)
#1919A8 — rgb(25, 25, 168)
Deuteranopia (Green-blind)
#1B1D9C — rgb(27, 29, 156)
Tritanopia (Blue-blind)
#238078 — rgb(35, 128, 120)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(247, 90%, 45%);
text
color: hsl(247, 90%, 45%);
border
border: 2px solid hsl(247, 90%, 45%);
gradient light
background: linear-gradient(to right, hsl(247, 90%, 65%), hsl(247, 90%, 45%));
gradient dark
background: linear-gradient(to right, hsl(247, 90%, 45%), hsl(247, 90%, 25%))
hex
background-color: #240BDA;
tailwind
bg-[hsl(247,90%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(247, 90%, 45%, 0.4);
css variable
--color-primary: hsl(247, 90%, 45%);
Related Colors
Use Cases for Vivid Blue
Frequently Asked Questions
What are all the color codes for HSL(247, 90%, 45%)?
HEX: #240BDA | RGB: rgb(36, 11, 218) | CMYK: 83%, 95%, 0%, 15% | HSV: 247°, 95%, 85%. Copy any format from the conversion table above.
What colors go well with #240BDA?
The complementary color is HSL(67, 90%, 45%). 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, 90%, 45%) in CSS?
As HSL: color: hsl(247, 90%, 45%); — As HEX: color: #240BDA; — As RGB: color: rgb(36, 11, 218); — Tailwind CSS: bg-[hsl(247,90%,45%)] — CSS variable: --color-primary: hsl(247, 90%, 45%);