HSL(222, 81%, 43%)
Vivid Blue — Blue color
Adjust Color
Color Information
Color Name
Vivid Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(222,81%,43%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(222, 81%, 43%) | color: hsl(222, 81%, 43%) | |
| HEX | #154AC6 | color: #154AC6 | |
| RGB | rgb(21, 74, 198) | color: rgb(21, 74, 198) | |
| CMYK | cmyk(89%, 63%, 0%, 22%) | — | |
| HSV | hsv(222, 89%, 78%) | — | |
| HWB | hwb(222 9% 22%) | color: hwb(222 9% 22%) | |
| OKLCH | oklch(0.4623 0.2006 263.23) | color: oklch(0.4623 0.2006 263.23) | |
| Lab | lab(36.24 32.1 -68.73) | color: lab(36.24 32.1 -68.73) | |
| LCH | lch(36.24 75.86 295.03) | color: lch(36.24 75.86 295.03) |
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)
#2C2CA8 — rgb(44, 44, 168)
Deuteranopia (Green-blind)
#2925A1 — rgb(41, 37, 161)
Tritanopia (Blue-blind)
#18908B — rgb(24, 144, 139)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(222, 81%, 43%);
text
color: hsl(222, 81%, 43%);
border
border: 2px solid hsl(222, 81%, 43%);
gradient light
background: linear-gradient(to right, hsl(222, 81%, 63%), hsl(222, 81%, 43%));
gradient dark
background: linear-gradient(to right, hsl(222, 81%, 43%), hsl(222, 81%, 23%))
hex
background-color: #154AC6;
tailwind
bg-[hsl(222,81%,43%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(222, 81%, 43%, 0.4);
css variable
--color-primary: hsl(222, 81%, 43%);
Related Colors
Use Cases for Vivid Blue
Frequently Asked Questions
What are all the color codes for HSL(222, 81%, 43%)?
HEX: #154AC6 | RGB: rgb(21, 74, 198) | CMYK: 89%, 63%, 0%, 22% | HSV: 222°, 89%, 78%. Copy any format from the conversion table above.
What colors go well with #154AC6?
The complementary color is HSL(42, 81%, 43%). For a triadic harmony, use hues 222°, 342°, and 102°. For analogous combinations, try hues 192° and 252°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(222, 81%, 43%) in CSS?
As HSL: color: hsl(222, 81%, 43%); — As HEX: color: #154AC6; — As RGB: color: rgb(21, 74, 198); — Tailwind CSS: bg-[hsl(222,81%,43%)] — CSS variable: --color-primary: hsl(222, 81%, 43%);