HSL(250, 62%, 62%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(250,62%,62%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(250, 62%, 62%) | color: hsl(250, 62%, 62%) | |
| HEX | #7662DA | color: #7662DA | |
| RGB | rgb(118, 98, 218) | color: rgb(118, 98, 218) | |
| CMYK | cmyk(46%, 55%, 0%, 15%) | — | |
| HSV | hsv(250, 55%, 85%) | — | |
| HWB | hwb(250 38% 15%) | color: hwb(250 38% 15%) | |
| OKLCH | oklch(0.5764 0.1764 287.16) | color: oklch(0.5764 0.1764 287.16) | |
| Lab | lab(49.07 37.71 -59.13) | color: lab(49.07 37.71 -59.13) | |
| LCH | lch(49.07 70.13 302.53) | color: lch(49.07 70.13 302.53) |
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)
#6D6DBD — rgb(109, 109, 189)
Deuteranopia (Green-blind)
#6F70B6 — rgb(111, 112, 182)
Tritanopia (Blue-blind)
#75A6A1 — rgb(117, 166, 161)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(250, 62%, 62%);
text
color: hsl(250, 62%, 62%);
border
border: 2px solid hsl(250, 62%, 62%);
gradient light
background: linear-gradient(to right, hsl(250, 62%, 82%), hsl(250, 62%, 62%));
gradient dark
background: linear-gradient(to right, hsl(250, 62%, 62%), hsl(250, 62%, 42%))
hex
background-color: #7662DA;
tailwind
bg-[hsl(250,62%,62%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(250, 62%, 62%, 0.4);
css variable
--color-primary: hsl(250, 62%, 62%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(250, 62%, 62%)?
HEX: #7662DA | RGB: rgb(118, 98, 218) | CMYK: 46%, 55%, 0%, 15% | HSV: 250°, 55%, 85%. Copy any format from the conversion table above.
What colors go well with #7662DA?
The complementary color is HSL(70, 62%, 62%). For a triadic harmony, use hues 250°, 10°, and 130°. For analogous combinations, try hues 220° and 280°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(250, 62%, 62%) in CSS?
As HSL: color: hsl(250, 62%, 62%); — As HEX: color: #7662DA; — As RGB: color: rgb(118, 98, 218); — Tailwind CSS: bg-[hsl(250,62%,62%)] — CSS variable: --color-primary: hsl(250, 62%, 62%);