HSL(220, 100%, 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(220,100%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(220, 100%, 45%) | color: hsl(220, 100%, 45%) | |
| HEX | #004CE6 | color: #004CE6 | |
| RGB | rgb(0, 76, 230) | color: rgb(0, 76, 230) | |
| CMYK | cmyk(100%, 67%, 0%, 10%) | — | |
| HSV | hsv(220, 100%, 90%) | — | |
| HWB | hwb(220 0% 10%) | color: hwb(220 0% 10%) | |
| OKLCH | oklch(0.4935 0.2399 262.62) | color: oklch(0.4935 0.2399 262.62) | |
| Lab | lab(39.38 42.26 -81.98) | color: lab(39.38 42.26 -81.98) | |
| LCH | lch(39.38 92.23 297.27) | color: lch(39.38 92.23 297.27) |
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)
#2122C1 — rgb(33, 34, 193)
Deuteranopia (Green-blind)
#1D17B8 — rgb(29, 23, 184)
Tritanopia (Blue-blind)
#04A39D — rgb(4, 163, 157)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(220, 100%, 45%);
text
color: hsl(220, 100%, 45%);
border
border: 2px solid hsl(220, 100%, 45%);
gradient light
background: linear-gradient(to right, hsl(220, 100%, 65%), hsl(220, 100%, 45%));
gradient dark
background: linear-gradient(to right, hsl(220, 100%, 45%), hsl(220, 100%, 25%))
hex
background-color: #004CE6;
tailwind
bg-[hsl(220,100%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(220, 100%, 45%, 0.4);
css variable
--color-primary: hsl(220, 100%, 45%);
Related Colors
Use Cases for Vivid Blue
Frequently Asked Questions
What are all the color codes for HSL(220, 100%, 45%)?
HEX: #004CE6 | RGB: rgb(0, 76, 230) | CMYK: 100%, 67%, 0%, 10% | HSV: 220°, 100%, 90%. Copy any format from the conversion table above.
What colors go well with #004CE6?
The complementary color is HSL(40, 100%, 45%). For a triadic harmony, use hues 220°, 340°, and 100°. For analogous combinations, try hues 190° and 250°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(220, 100%, 45%) in CSS?
As HSL: color: hsl(220, 100%, 45%); — As HEX: color: #004CE6; — As RGB: color: rgb(0, 76, 230); — Tailwind CSS: bg-[hsl(220,100%,45%)] — CSS variable: --color-primary: hsl(220, 100%, 45%);