HSL(240, 90%, 53%)
Vivid Blue — Blue color
Adjust Color
Color Information
Color Name
Vivid Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(240,90%,53%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(240, 90%, 53%) | color: hsl(240, 90%, 53%) | |
| HEX | #1B1BF3 | color: #1B1BF3 | |
| RGB | rgb(27, 27, 243) | color: rgb(27, 27, 243) | |
| CMYK | cmyk(89%, 89%, 0%, 5%) | — | |
| HSV | hsv(240, 89%, 95%) | — | |
| HWB | hwb(240 10% 5%) | color: hwb(240 10% 5%) | |
| OKLCH | oklch(0.453 0.2901 266.61) | color: oklch(0.453 0.2901 266.61) | |
| Lab | lab(32.89 71.08 -100.1) | color: lab(32.89 71.08 -100.1) | |
| LCH | lch(32.89 122.77 305.38) | color: lch(32.89 122.77 305.38) |
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)
#1B1BBF — rgb(27, 27, 191)
Deuteranopia (Green-blind)
#1B1BB2 — rgb(27, 27, 178)
Tritanopia (Blue-blind)
#1B958C — rgb(27, 149, 140)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(240, 90%, 53%);
text
color: hsl(240, 90%, 53%);
border
border: 2px solid hsl(240, 90%, 53%);
gradient light
background: linear-gradient(to right, hsl(240, 90%, 73%), hsl(240, 90%, 53%));
gradient dark
background: linear-gradient(to right, hsl(240, 90%, 53%), hsl(240, 90%, 33%))
hex
background-color: #1B1BF3;
tailwind
bg-[hsl(240,90%,53%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(240, 90%, 53%, 0.4);
css variable
--color-primary: hsl(240, 90%, 53%);
Related Colors
Use Cases for Vivid Blue
Frequently Asked Questions
What are all the color codes for HSL(240, 90%, 53%)?
HEX: #1B1BF3 | RGB: rgb(27, 27, 243) | CMYK: 89%, 89%, 0%, 5% | HSV: 240°, 89%, 95%. Copy any format from the conversion table above.
What colors go well with #1B1BF3?
The complementary color is HSL(60, 90%, 53%). For a triadic harmony, use hues 240°, 0°, and 120°. For analogous combinations, try hues 210° and 270°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(240, 90%, 53%) in CSS?
As HSL: color: hsl(240, 90%, 53%); — As HEX: color: #1B1BF3; — As RGB: color: rgb(27, 27, 243); — Tailwind CSS: bg-[hsl(240,90%,53%)] — CSS variable: --color-primary: hsl(240, 90%, 53%);