HSL(232, 87%, 72%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(232,87%,72%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(232, 87%, 72%) | color: hsl(232, 87%, 72%) | |
| HEX | #798AF6 | color: #798AF6 | |
| RGB | rgb(121, 138, 246) | color: rgb(121, 138, 246) | |
| CMYK | cmyk(51%, 44%, 0%, 4%) | — | |
| HSV | hsv(232, 51%, 96%) | — | |
| HWB | hwb(232 47% 4%) | color: hwb(232 47% 4%) | |
| OKLCH | oklch(0.6697 0.16 274.52) | color: oklch(0.6697 0.16 274.52) | |
| Lab | lab(60.69 23 -56.15) | color: lab(60.69 23 -56.15) | |
| LCH | lch(60.69 60.68 292.27) | color: lch(60.69 60.68 292.27) |
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)
#8081DC — rgb(128, 129, 220)
Deuteranopia (Green-blind)
#7F7ED6 — rgb(127, 126, 214)
Tritanopia (Blue-blind)
#7AC7C3 — rgb(122, 199, 195)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(232, 87%, 72%);
text
color: hsl(232, 87%, 72%);
border
border: 2px solid hsl(232, 87%, 72%);
gradient light
background: linear-gradient(to right, hsl(232, 87%, 92%), hsl(232, 87%, 72%));
gradient dark
background: linear-gradient(to right, hsl(232, 87%, 72%), hsl(232, 87%, 52%))
hex
background-color: #798AF6;
tailwind
bg-[hsl(232,87%,72%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(232, 87%, 72%, 0.4);
css variable
--color-primary: hsl(232, 87%, 72%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(232, 87%, 72%)?
HEX: #798AF6 | RGB: rgb(121, 138, 246) | CMYK: 51%, 44%, 0%, 4% | HSV: 232°, 51%, 96%. Copy any format from the conversion table above.
What colors go well with #798AF6?
The complementary color is HSL(52, 87%, 72%). For a triadic harmony, use hues 232°, 352°, and 112°. For analogous combinations, try hues 202° and 262°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(232, 87%, 72%) in CSS?
As HSL: color: hsl(232, 87%, 72%); — As HEX: color: #798AF6; — As RGB: color: rgb(121, 138, 246); — Tailwind CSS: bg-[hsl(232,87%,72%)] — CSS variable: --color-primary: hsl(232, 87%, 72%);