HSL(246, 68%, 84%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(246,68%,84%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(246, 68%, 84%) | color: hsl(246, 68%, 84%) | |
| HEX | #C0BAF2 | color: #C0BAF2 | |
| RGB | rgb(192, 186, 242) | color: rgb(192, 186, 242) | |
| CMYK | cmyk(21%, 23%, 0%, 5%) | — | |
| HSV | hsv(246, 23%, 95%) | — | |
| HWB | hwb(246 73% 5%) | color: hwb(246 73% 5%) | |
| OKLCH | oklch(0.813 0.0785 289.44) | color: oklch(0.813 0.0785 289.44) | |
| Lab | lab(77.72 13.51 -26.98) | color: lab(77.72 13.51 -26.98) | |
| LCH | lch(77.72 30.17 296.6) | color: lch(77.72 30.17 296.6) |
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)
#BDBDE4 — rgb(189, 189, 228)
Deuteranopia (Green-blind)
#BEBEE1 — rgb(190, 190, 225)
Tritanopia (Blue-blind)
#C0DAD7 — rgb(192, 218, 215)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(246, 68%, 84%);
text
color: hsl(246, 68%, 84%);
border
border: 2px solid hsl(246, 68%, 84%);
gradient light
background: linear-gradient(to right, hsl(246, 68%, 100%), hsl(246, 68%, 84%));
gradient dark
background: linear-gradient(to right, hsl(246, 68%, 84%), hsl(246, 68%, 64%))
hex
background-color: #C0BAF2;
tailwind
bg-[hsl(246,68%,84%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(246, 68%, 84%, 0.4);
css variable
--color-primary: hsl(246, 68%, 84%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(246, 68%, 84%)?
HEX: #C0BAF2 | RGB: rgb(192, 186, 242) | CMYK: 21%, 23%, 0%, 5% | HSV: 246°, 23%, 95%. Copy any format from the conversion table above.
What colors go well with #C0BAF2?
The complementary color is HSL(66, 68%, 84%). 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, 68%, 84%) in CSS?
As HSL: color: hsl(246, 68%, 84%); — As HEX: color: #C0BAF2; — As RGB: color: rgb(192, 186, 242); — Tailwind CSS: bg-[hsl(246,68%,84%)] — CSS variable: --color-primary: hsl(246, 68%, 84%);