HSL(249, 50%, 59%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(249,50%,59%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(249, 50%, 59%) | color: hsl(249, 50%, 59%) | |
| HEX | #7262CB | color: #7262CB | |
| RGB | rgb(114, 98, 203) | color: rgb(114, 98, 203) | |
| CMYK | cmyk(44%, 52%, 0%, 20%) | — | |
| HSV | hsv(249, 52%, 80%) | — | |
| HWB | hwb(249 38% 20%) | color: hwb(249 38% 20%) | |
| OKLCH | oklch(0.563 0.1567 287.25) | color: oklch(0.563 0.1567 287.25) | |
| Lab | lab(47.78 32.46 -52.65) | color: lab(47.78 32.46 -52.65) | |
| LCH | lch(47.78 61.85 301.65) | color: lch(47.78 61.85 301.65) |
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)
#6B6BB2 — rgb(107, 107, 178)
Deuteranopia (Green-blind)
#6C6DAC — rgb(108, 109, 172)
Tritanopia (Blue-blind)
#719E99 — rgb(113, 158, 153)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(249, 50%, 59%);
text
color: hsl(249, 50%, 59%);
border
border: 2px solid hsl(249, 50%, 59%);
gradient light
background: linear-gradient(to right, hsl(249, 50%, 79%), hsl(249, 50%, 59%));
gradient dark
background: linear-gradient(to right, hsl(249, 50%, 59%), hsl(249, 50%, 39%))
hex
background-color: #7262CB;
tailwind
bg-[hsl(249,50%,59%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(249, 50%, 59%, 0.4);
css variable
--color-primary: hsl(249, 50%, 59%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(249, 50%, 59%)?
HEX: #7262CB | RGB: rgb(114, 98, 203) | CMYK: 44%, 52%, 0%, 20% | HSV: 249°, 52%, 80%. Copy any format from the conversion table above.
What colors go well with #7262CB?
The complementary color is HSL(69, 50%, 59%). 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, 50%, 59%) in CSS?
As HSL: color: hsl(249, 50%, 59%); — As HEX: color: #7262CB; — As RGB: color: rgb(114, 98, 203); — Tailwind CSS: bg-[hsl(249,50%,59%)] — CSS variable: --color-primary: hsl(249, 50%, 59%);