HSL(231, 45%, 72%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(231,45%,72%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(231, 45%, 72%) | color: hsl(231, 45%, 72%) | |
| HEX | #97A1D8 | color: #97A1D8 | |
| RGB | rgb(151, 161, 216) | color: rgb(151, 161, 216) | |
| CMYK | cmyk(30%, 25%, 0%, 15%) | — | |
| HSV | hsv(231, 30%, 85%) | — | |
| HWB | hwb(231 60% 15%) | color: hwb(231 60% 15%) | |
| OKLCH | oklch(0.7213 0.0809 276.21) | color: oklch(0.7213 0.0809 276.21) | |
| Lab | lab(67.3 8.98 -29.08) | color: lab(67.3 8.98 -29.08) | |
| LCH | lch(67.3 30.43 287.16) | color: lch(67.3 30.43 287.16) |
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)
#9B9BCB — rgb(155, 155, 203)
Deuteranopia (Green-blind)
#9B9AC8 — rgb(155, 154, 200)
Tritanopia (Blue-blind)
#98C0BE — rgb(152, 192, 190)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(231, 45%, 72%);
text
color: hsl(231, 45%, 72%);
border
border: 2px solid hsl(231, 45%, 72%);
gradient light
background: linear-gradient(to right, hsl(231, 45%, 92%), hsl(231, 45%, 72%));
gradient dark
background: linear-gradient(to right, hsl(231, 45%, 72%), hsl(231, 45%, 52%))
hex
background-color: #97A1D8;
tailwind
bg-[hsl(231,45%,72%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(231, 45%, 72%, 0.4);
css variable
--color-primary: hsl(231, 45%, 72%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(231, 45%, 72%)?
HEX: #97A1D8 | RGB: rgb(151, 161, 216) | CMYK: 30%, 25%, 0%, 15% | HSV: 231°, 30%, 85%. Copy any format from the conversion table above.
What colors go well with #97A1D8?
The complementary color is HSL(51, 45%, 72%). For a triadic harmony, use hues 231°, 351°, and 111°. For analogous combinations, try hues 201° and 261°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(231, 45%, 72%) in CSS?
As HSL: color: hsl(231, 45%, 72%); — As HEX: color: #97A1D8; — As RGB: color: rgb(151, 161, 216); — Tailwind CSS: bg-[hsl(231,45%,72%)] — CSS variable: --color-primary: hsl(231, 45%, 72%);