HSL(212, 96%, 41%)
Vivid Blue — Blue color
Adjust Color
Color Information
Color Name
Vivid Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(212,96%,41%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(212, 96%, 41%) | color: hsl(212, 96%, 41%) | |
| HEX | #0462CD | color: #0462CD | |
| RGB | rgb(4, 98, 205) | color: rgb(4, 98, 205) | |
| CMYK | cmyk(98%, 52%, 0%, 20%) | — | |
| HSV | hsv(212, 98%, 80%) | — | |
| HWB | hwb(212 2% 20%) | color: hwb(212 2% 20%) | |
| OKLCH | oklch(0.5145 0.1828 257.34) | color: oklch(0.5145 0.1828 257.34) | |
| Lab | lab(43.01 18.41 -61.74) | color: lab(43.01 18.41 -61.74) | |
| LCH | lch(43.01 64.43 286.6) | color: lch(43.01 64.43 286.6) |
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)
#2D2EB3 — rgb(45, 46, 179)
Deuteranopia (Green-blind)
#2720AD — rgb(39, 32, 173)
Tritanopia (Blue-blind)
#099F9A — rgb(9, 159, 154)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(212, 96%, 41%);
text
color: hsl(212, 96%, 41%);
border
border: 2px solid hsl(212, 96%, 41%);
gradient light
background: linear-gradient(to right, hsl(212, 96%, 61%), hsl(212, 96%, 41%));
gradient dark
background: linear-gradient(to right, hsl(212, 96%, 41%), hsl(212, 96%, 21%))
hex
background-color: #0462CD;
tailwind
bg-[hsl(212,96%,41%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(212, 96%, 41%, 0.4);
css variable
--color-primary: hsl(212, 96%, 41%);
Related Colors
Use Cases for Vivid Blue
Frequently Asked Questions
What are all the color codes for HSL(212, 96%, 41%)?
HEX: #0462CD | RGB: rgb(4, 98, 205) | CMYK: 98%, 52%, 0%, 20% | HSV: 212°, 98%, 80%. Copy any format from the conversion table above.
What colors go well with #0462CD?
The complementary color is HSL(32, 96%, 41%). For a triadic harmony, use hues 212°, 332°, and 92°. For analogous combinations, try hues 182° and 242°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(212, 96%, 41%) in CSS?
As HSL: color: hsl(212, 96%, 41%); — As HEX: color: #0462CD; — As RGB: color: rgb(4, 98, 205); — Tailwind CSS: bg-[hsl(212,96%,41%)] — CSS variable: --color-primary: hsl(212, 96%, 41%);