HSL(251, 30%, 68%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(251,30%,68%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(251, 30%, 68%) | color: hsl(251, 30%, 68%) | |
| HEX | #9E95C6 | color: #9E95C6 | |
| RGB | rgb(158, 149, 198) | color: rgb(158, 149, 198) | |
| CMYK | cmyk(20%, 25%, 0%, 22%) | — | |
| HSV | hsv(251, 25%, 78%) | — | |
| HWB | hwb(251 59% 22%) | color: hwb(251 59% 22%) | |
| OKLCH | oklch(0.6951 0.0716 292.86) | color: oklch(0.6951 0.0716 292.86) | |
| Lab | lab(64.03 13.55 -24.05) | color: lab(64.03 13.55 -24.05) | |
| LCH | lch(64.03 27.6 299.4) | color: lch(64.03 27.6 299.4) |
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)
#9A9ABA — rgb(154, 154, 186)
Deuteranopia (Green-blind)
#9B9BB7 — rgb(155, 155, 183)
Tritanopia (Blue-blind)
#9EB1AF — rgb(158, 177, 175)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(251, 30%, 68%);
text
color: hsl(251, 30%, 68%);
border
border: 2px solid hsl(251, 30%, 68%);
gradient light
background: linear-gradient(to right, hsl(251, 30%, 88%), hsl(251, 30%, 68%));
gradient dark
background: linear-gradient(to right, hsl(251, 30%, 68%), hsl(251, 30%, 48%))
hex
background-color: #9E95C6;
tailwind
bg-[hsl(251,30%,68%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(251, 30%, 68%, 0.4);
css variable
--color-primary: hsl(251, 30%, 68%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(251, 30%, 68%)?
HEX: #9E95C6 | RGB: rgb(158, 149, 198) | CMYK: 20%, 25%, 0%, 22% | HSV: 251°, 25%, 78%. Copy any format from the conversion table above.
What colors go well with #9E95C6?
The complementary color is HSL(71, 30%, 68%). For a triadic harmony, use hues 251°, 11°, and 131°. For analogous combinations, try hues 221° and 281°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(251, 30%, 68%) in CSS?
As HSL: color: hsl(251, 30%, 68%); — As HEX: color: #9E95C6; — As RGB: color: rgb(158, 149, 198); — Tailwind CSS: bg-[hsl(251,30%,68%)] — CSS variable: --color-primary: hsl(251, 30%, 68%);