HSL(227, 15%, 62%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(227,15%,62%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(227, 15%, 62%) | color: hsl(227, 15%, 62%) | |
| HEX | #9096AD | color: #9096AD | |
| RGB | rgb(144, 150, 173) | color: rgb(144, 150, 173) | |
| CMYK | cmyk(17%, 13%, 0%, 32%) | — | |
| HSV | hsv(228, 17%, 68%) | — | |
| HWB | hwb(228 56% 32%) | color: hwb(228 56% 32%) | |
| OKLCH | oklch(0.676 0.0346 273.89) | color: oklch(0.676 0.0346 273.89) | |
| Lab | lab(62.3 2.72 -12.73) | color: lab(62.3 2.72 -12.73) | |
| LCH | lch(62.3 13.02 282.06) | color: lch(62.3 13.02 282.06) |
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)
#9393A7 — rgb(147, 147, 167)
Deuteranopia (Green-blind)
#9292A6 — rgb(146, 146, 166)
Tritanopia (Blue-blind)
#90A3A2 — rgb(144, 163, 162)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(227, 15%, 62%);
text
color: hsl(227, 15%, 62%);
border
border: 2px solid hsl(227, 15%, 62%);
gradient light
background: linear-gradient(to right, hsl(227, 15%, 82%), hsl(227, 15%, 62%));
gradient dark
background: linear-gradient(to right, hsl(227, 15%, 62%), hsl(227, 15%, 42%))
hex
background-color: #9096AD;
tailwind
bg-[hsl(227,15%,62%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(227, 15%, 62%, 0.4);
css variable
--color-primary: hsl(227, 15%, 62%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(227, 15%, 62%)?
HEX: #9096AD | RGB: rgb(144, 150, 173) | CMYK: 17%, 13%, 0%, 32% | HSV: 228°, 17%, 68%. Copy any format from the conversion table above.
What colors go well with #9096AD?
The complementary color is HSL(47, 15%, 62%). For a triadic harmony, use hues 227°, 347°, and 107°. For analogous combinations, try hues 197° and 257°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(227, 15%, 62%) in CSS?
As HSL: color: hsl(227, 15%, 62%); — As HEX: color: #9096AD; — As RGB: color: rgb(144, 150, 173); — Tailwind CSS: bg-[hsl(227,15%,62%)] — CSS variable: --color-primary: hsl(227, 15%, 62%);