HSL(249, 65%, 45%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(249,65%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(249, 65%, 45%) | color: hsl(249, 65%, 45%) | |
| HEX | #3F28BD | color: #3F28BD | |
| RGB | rgb(63, 40, 189) | color: rgb(63, 40, 189) | |
| CMYK | cmyk(67%, 79%, 0%, 26%) | — | |
| HSV | hsv(249, 79%, 74%) | — | |
| HWB | hwb(249 16% 26%) | color: hwb(249 16% 26%) | |
| OKLCH | oklch(0.4201 0.2151 278.75) | color: oklch(0.4201 0.2151 278.75) | |
| Lab | lab(30.03 52.37 -73.6) | color: lab(30.03 52.37 -73.6) | |
| LCH | lch(30.03 90.33 305.43) | color: lch(30.03 90.33 305.43) |
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)
#353599 — rgb(53, 53, 153)
Deuteranopia (Green-blind)
#363890 — rgb(54, 56, 144)
Tritanopia (Blue-blind)
#3E7C76 — rgb(62, 124, 118)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(249, 65%, 45%);
text
color: hsl(249, 65%, 45%);
border
border: 2px solid hsl(249, 65%, 45%);
gradient light
background: linear-gradient(to right, hsl(249, 65%, 65%), hsl(249, 65%, 45%));
gradient dark
background: linear-gradient(to right, hsl(249, 65%, 45%), hsl(249, 65%, 25%))
hex
background-color: #3F28BD;
tailwind
bg-[hsl(249,65%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(249, 65%, 45%, 0.4);
css variable
--color-primary: hsl(249, 65%, 45%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(249, 65%, 45%)?
HEX: #3F28BD | RGB: rgb(63, 40, 189) | CMYK: 67%, 79%, 0%, 26% | HSV: 249°, 79%, 74%. Copy any format from the conversion table above.
What colors go well with #3F28BD?
The complementary color is HSL(69, 65%, 45%). 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%, 45%) in CSS?
As HSL: color: hsl(249, 65%, 45%); — As HEX: color: #3F28BD; — As RGB: color: rgb(63, 40, 189); — Tailwind CSS: bg-[hsl(249,65%,45%)] — CSS variable: --color-primary: hsl(249, 65%, 45%);