HSL(249, 65%, 46%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(249,65%,46%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(249, 65%, 46%) | color: hsl(249, 65%, 46%) | |
| HEX | #4029C2 | color: #4029C2 | |
| RGB | rgb(64, 41, 194) | color: rgb(64, 41, 194) | |
| CMYK | cmyk(67%, 79%, 0%, 24%) | — | |
| HSV | hsv(249, 79%, 76%) | — | |
| HWB | hwb(249 16% 24%) | color: hwb(249 16% 24%) | |
| OKLCH | oklch(0.4273 0.2198 278.45) | color: oklch(0.4273 0.2198 278.45) | |
| Lab | lab(30.81 53.47 -75.26) | color: lab(30.81 53.47 -75.26) | |
| LCH | lch(30.81 92.32 305.39) | color: lch(30.81 92.32 305.39) |
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)
#36369D — rgb(54, 54, 157)
Deuteranopia (Green-blind)
#373994 — rgb(55, 57, 148)
Tritanopia (Blue-blind)
#3F8079 — rgb(63, 128, 121)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(249, 65%, 46%);
text
color: hsl(249, 65%, 46%);
border
border: 2px solid hsl(249, 65%, 46%);
gradient light
background: linear-gradient(to right, hsl(249, 65%, 66%), hsl(249, 65%, 46%));
gradient dark
background: linear-gradient(to right, hsl(249, 65%, 46%), hsl(249, 65%, 26%))
hex
background-color: #4029C2;
tailwind
bg-[hsl(249,65%,46%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(249, 65%, 46%, 0.4);
css variable
--color-primary: hsl(249, 65%, 46%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(249, 65%, 46%)?
HEX: #4029C2 | RGB: rgb(64, 41, 194) | CMYK: 67%, 79%, 0%, 24% | HSV: 249°, 79%, 76%. Copy any format from the conversion table above.
What colors go well with #4029C2?
The complementary color is HSL(69, 65%, 46%). For a triadic harmony, use hues 249°, 9°, and 129°. For analogous combinations, try hues 219° and 279°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(249, 65%, 46%) in CSS?
As HSL: color: hsl(249, 65%, 46%); — As HEX: color: #4029C2; — As RGB: color: rgb(64, 41, 194); — Tailwind CSS: bg-[hsl(249,65%,46%)] — CSS variable: --color-primary: hsl(249, 65%, 46%);