HSL(245, 90%, 51%)
Vivid Blue — Blue color
Adjust Color
Color Information
Color Name
Vivid Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(245,90%,51%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(245, 90%, 51%) | color: hsl(245, 90%, 51%) | |
| HEX | #2412F3 | color: #2412F3 | |
| RGB | rgb(36, 18, 243) | color: rgb(36, 18, 243) | |
| CMYK | cmyk(85%, 93%, 0%, 5%) | — | |
| HSV | hsv(245, 93%, 95%) | — | |
| HWB | hwb(245 7% 5%) | color: hwb(245 7% 5%) | |
| OKLCH | oklch(0.4508 0.2916 268.08) | color: oklch(0.4508 0.2916 268.08) | |
| Lab | lab(32.43 73.61 -100.86) | color: lab(32.43 73.61 -100.86) | |
| LCH | lch(32.43 124.86 306.12) | color: lch(32.43 124.86 306.12) |
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)
#1C1CBD — rgb(28, 28, 189)
Deuteranopia (Green-blind)
#1D1FB0 — rgb(29, 31, 176)
Tritanopia (Blue-blind)
#239288 — rgb(35, 146, 136)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(245, 90%, 51%);
text
color: hsl(245, 90%, 51%);
border
border: 2px solid hsl(245, 90%, 51%);
gradient light
background: linear-gradient(to right, hsl(245, 90%, 71%), hsl(245, 90%, 51%));
gradient dark
background: linear-gradient(to right, hsl(245, 90%, 51%), hsl(245, 90%, 31%))
hex
background-color: #2412F3;
tailwind
bg-[hsl(245,90%,51%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(245, 90%, 51%, 0.4);
css variable
--color-primary: hsl(245, 90%, 51%);
Related Colors
Use Cases for Vivid Blue
Frequently Asked Questions
What are all the color codes for HSL(245, 90%, 51%)?
HEX: #2412F3 | RGB: rgb(36, 18, 243) | CMYK: 85%, 93%, 0%, 5% | HSV: 245°, 93%, 95%. Copy any format from the conversion table above.
What colors go well with #2412F3?
The complementary color is HSL(65, 90%, 51%). For a triadic harmony, use hues 245°, 5°, and 125°. For analogous combinations, try hues 215° and 275°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(245, 90%, 51%) in CSS?
As HSL: color: hsl(245, 90%, 51%); — As HEX: color: #2412F3; — As RGB: color: rgb(36, 18, 243); — Tailwind CSS: bg-[hsl(245,90%,51%)] — CSS variable: --color-primary: hsl(245, 90%, 51%);