HSL(250, 42%, 62%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(250,42%,62%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(250, 42%, 62%) | color: hsl(250, 42%, 62%) | |
| HEX | #8375C7 | color: #8375C7 | |
| RGB | rgb(131, 117, 199) | color: rgb(131, 117, 199) | |
| CMYK | cmyk(34%, 41%, 0%, 22%) | — | |
| HSV | hsv(250, 41%, 78%) | — | |
| HWB | hwb(250 46% 22%) | color: hwb(250 46% 22%) | |
| OKLCH | oklch(0.6103 0.1223 290.13) | color: oklch(0.6103 0.1223 290.13) | |
| Lab | lab(53.68 24.36 -40.9) | color: lab(53.68 24.36 -40.9) | |
| LCH | lch(53.68 47.6 300.78) | color: lch(53.68 47.6 300.78) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#7D7DB3 — rgb(125, 125, 179)
Deuteranopia (Green-blind)
#7E7FAE — rgb(126, 127, 174)
Tritanopia (Blue-blind)
#82A3A0 — rgb(130, 163, 160)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(250, 42%, 62%);
text
color: hsl(250, 42%, 62%);
border
border: 2px solid hsl(250, 42%, 62%);
gradient light
background: linear-gradient(to right, hsl(250, 42%, 82%), hsl(250, 42%, 62%));
gradient dark
background: linear-gradient(to right, hsl(250, 42%, 62%), hsl(250, 42%, 42%))
hex
background-color: #8375C7;
tailwind
bg-[hsl(250,42%,62%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(250, 42%, 62%, 0.4);
css variable
--color-primary: hsl(250, 42%, 62%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(250, 42%, 62%)?
HEX: #8375C7 | RGB: rgb(131, 117, 199) | CMYK: 34%, 41%, 0%, 22% | HSV: 250°, 41%, 78%. Copy any format from the conversion table above.
What colors go well with #8375C7?
The complementary color is HSL(70, 42%, 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, 42%, 62%) in CSS?
As HSL: color: hsl(250, 42%, 62%); — As HEX: color: #8375C7; — As RGB: color: rgb(131, 117, 199); — Tailwind CSS: bg-[hsl(250,42%,62%)] — CSS variable: --color-primary: hsl(250, 42%, 62%);