HSL(229, 81%, 52%)
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,81%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(229, 81%, 52%) | color: hsl(229, 81%, 52%) | |
| HEX | #2146E8 | color: #2146E8 | |
| RGB | rgb(33, 70, 232) | color: rgb(33, 70, 232) | |
| CMYK | cmyk(86%, 70%, 0%, 9%) | — | |
| HSV | hsv(229, 86%, 91%) | — | |
| HWB | hwb(229 13% 9%) | color: hwb(229 13% 9%) | |
| OKLCH | oklch(0.4913 0.2444 266.07) | color: oklch(0.4913 0.2444 266.07) | |
| Lab | lab(38.77 47.69 -84.09) | color: lab(38.77 47.69 -84.09) | |
| LCH | lch(38.77 96.67 299.56) | color: lch(38.77 96.67 299.56) |
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)
#3131C1 — rgb(49, 49, 193)
Deuteranopia (Green-blind)
#2F2CB7 — rgb(47, 44, 183)
Tritanopia (Blue-blind)
#23A29B — rgb(35, 162, 155)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(229, 81%, 52%);
text
color: hsl(229, 81%, 52%);
border
border: 2px solid hsl(229, 81%, 52%);
gradient light
background: linear-gradient(to right, hsl(229, 81%, 72%), hsl(229, 81%, 52%));
gradient dark
background: linear-gradient(to right, hsl(229, 81%, 52%), hsl(229, 81%, 32%))
hex
background-color: #2146E8;
tailwind
bg-[hsl(229,81%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(229, 81%, 52%, 0.4);
css variable
--color-primary: hsl(229, 81%, 52%);
Related Colors
Use Cases for Vivid Blue
Frequently Asked Questions
What are all the color codes for HSL(229, 81%, 52%)?
HEX: #2146E8 | RGB: rgb(33, 70, 232) | CMYK: 86%, 70%, 0%, 9% | HSV: 229°, 86%, 91%. Copy any format from the conversion table above.
What colors go well with #2146E8?
The complementary color is HSL(49, 81%, 52%). 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, 81%, 52%) in CSS?
As HSL: color: hsl(229, 81%, 52%); — As HEX: color: #2146E8; — As RGB: color: rgb(33, 70, 232); — Tailwind CSS: bg-[hsl(229,81%,52%)] — CSS variable: --color-primary: hsl(229, 81%, 52%);