HSL(246, 70%, 73%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(246,70%,73%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(246, 70%, 73%) | color: hsl(246, 70%, 73%) | |
| HEX | #948AEA | color: #948AEA | |
| RGB | rgb(148, 138, 234) | color: rgb(148, 138, 234) | |
| CMYK | cmyk(37%, 41%, 0%, 8%) | — | |
| HSV | hsv(246, 41%, 92%) | — | |
| HWB | hwb(246 54% 8%) | color: hwb(246 54% 8%) | |
| OKLCH | oklch(0.6827 0.139 286.88) | color: oklch(0.6827 0.139 286.88) | |
| Lab | lab(62.01 26.02 -47.31) | color: lab(62.01 26.02 -47.31) | |
| LCH | lch(62.01 53.99 298.81) | color: lch(62.01 53.99 298.81) |
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)
#9090D3 — rgb(144, 144, 211)
Deuteranopia (Green-blind)
#9091CD — rgb(144, 145, 205)
Tritanopia (Blue-blind)
#94C0BC — rgb(148, 192, 188)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(246, 70%, 73%);
text
color: hsl(246, 70%, 73%);
border
border: 2px solid hsl(246, 70%, 73%);
gradient light
background: linear-gradient(to right, hsl(246, 70%, 93%), hsl(246, 70%, 73%));
gradient dark
background: linear-gradient(to right, hsl(246, 70%, 73%), hsl(246, 70%, 53%))
hex
background-color: #948AEA;
tailwind
bg-[hsl(246,70%,73%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(246, 70%, 73%, 0.4);
css variable
--color-primary: hsl(246, 70%, 73%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(246, 70%, 73%)?
HEX: #948AEA | RGB: rgb(148, 138, 234) | CMYK: 37%, 41%, 0%, 8% | HSV: 246°, 41%, 92%. Copy any format from the conversion table above.
What colors go well with #948AEA?
The complementary color is HSL(66, 70%, 73%). For a triadic harmony, use hues 246°, 6°, and 126°. For analogous combinations, try hues 216° and 276°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(246, 70%, 73%) in CSS?
As HSL: color: hsl(246, 70%, 73%); — As HEX: color: #948AEA; — As RGB: color: rgb(148, 138, 234); — Tailwind CSS: bg-[hsl(246,70%,73%)] — CSS variable: --color-primary: hsl(246, 70%, 73%);