HSL(229, 89%, 54%)
Vivid Blue — Blue color
Adjust Color
Color Information
Color Name
Vivid Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(229,89%,54%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(229, 89%, 54%) | color: hsl(229, 89%, 54%) | |
| HEX | #2148F2 | color: #2148F2 | |
| RGB | rgb(33, 72, 242) | color: rgb(33, 72, 242) | |
| CMYK | cmyk(86%, 70%, 0%, 5%) | — | |
| HSV | hsv(229, 86%, 95%) | — | |
| HWB | hwb(229 13% 5%) | color: hwb(229 13% 5%) | |
| OKLCH | oklch(0.5045 0.2541 265.92) | color: oklch(0.5045 0.2541 265.92) | |
| Lab | lab(40.19 49.98 -87.4) | color: lab(40.19 49.98 -87.4) | |
| LCH | lch(40.19 100.68 299.76) | color: lch(40.19 100.68 299.76) |
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)
#3232C9 — rgb(50, 50, 201)
Deuteranopia (Green-blind)
#302DBF — rgb(48, 45, 191)
Tritanopia (Blue-blind)
#23A8A1 — rgb(35, 168, 161)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(229, 89%, 54%);
text
color: hsl(229, 89%, 54%);
border
border: 2px solid hsl(229, 89%, 54%);
gradient light
background: linear-gradient(to right, hsl(229, 89%, 74%), hsl(229, 89%, 54%));
gradient dark
background: linear-gradient(to right, hsl(229, 89%, 54%), hsl(229, 89%, 34%))
hex
background-color: #2148F2;
tailwind
bg-[hsl(229,89%,54%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(229, 89%, 54%, 0.4);
css variable
--color-primary: hsl(229, 89%, 54%);
Related Colors
Use Cases for Vivid Blue
Frequently Asked Questions
What are all the color codes for HSL(229, 89%, 54%)?
HEX: #2148F2 | RGB: rgb(33, 72, 242) | CMYK: 86%, 70%, 0%, 5% | HSV: 229°, 86%, 95%. Copy any format from the conversion table above.
What colors go well with #2148F2?
The complementary color is HSL(49, 89%, 54%). For a triadic harmony, use hues 229°, 349°, and 109°. For analogous combinations, try hues 199° and 259°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(229, 89%, 54%) in CSS?
As HSL: color: hsl(229, 89%, 54%); — As HEX: color: #2148F2; — As RGB: color: rgb(33, 72, 242); — Tailwind CSS: bg-[hsl(229,89%,54%)] — CSS variable: --color-primary: hsl(229, 89%, 54%);