HSL(237, 95%, 73%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(237,95%,73%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(237, 95%, 73%) | color: hsl(237, 95%, 73%) | |
| HEX | #797FFC | color: #797FFC | |
| RGB | rgb(121, 127, 252) | color: rgb(121, 127, 252) | |
| CMYK | cmyk(52%, 50%, 0%, 1%) | — | |
| HSV | hsv(237, 52%, 99%) | — | |
| HWB | hwb(237 48% 1%) | color: hwb(237 48% 1%) | |
| OKLCH | oklch(0.6527 0.1823 278) | color: oklch(0.6527 0.1823 278) | |
| Lab | lab(58.29 31.34 -63.29) | color: lab(58.29 31.34 -63.29) | |
| LCH | lch(58.29 70.62 296.34) | color: lch(58.29 70.62 296.34) |
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)
#7C7CDE — rgb(124, 124, 222)
Deuteranopia (Green-blind)
#7B7BD7 — rgb(123, 123, 215)
Tritanopia (Blue-blind)
#79C6C1 — rgb(121, 198, 193)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(237, 95%, 73%);
text
color: hsl(237, 95%, 73%);
border
border: 2px solid hsl(237, 95%, 73%);
gradient light
background: linear-gradient(to right, hsl(237, 95%, 93%), hsl(237, 95%, 73%));
gradient dark
background: linear-gradient(to right, hsl(237, 95%, 73%), hsl(237, 95%, 53%))
hex
background-color: #797FFC;
tailwind
bg-[hsl(237,95%,73%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(237, 95%, 73%, 0.4);
css variable
--color-primary: hsl(237, 95%, 73%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(237, 95%, 73%)?
HEX: #797FFC | RGB: rgb(121, 127, 252) | CMYK: 52%, 50%, 0%, 1% | HSV: 237°, 52%, 99%. Copy any format from the conversion table above.
What colors go well with #797FFC?
The complementary color is HSL(57, 95%, 73%). For a triadic harmony, use hues 237°, 357°, and 117°. For analogous combinations, try hues 207° and 267°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(237, 95%, 73%) in CSS?
As HSL: color: hsl(237, 95%, 73%); — As HEX: color: #797FFC; — As RGB: color: rgb(121, 127, 252); — Tailwind CSS: bg-[hsl(237,95%,73%)] — CSS variable: --color-primary: hsl(237, 95%, 73%);