HSL(231, 91%, 72%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(231,91%,72%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(231, 91%, 72%) | color: hsl(231, 91%, 72%) | |
| HEX | #778AF9 | color: #778AF9 | |
| RGB | rgb(119, 138, 249) | color: rgb(119, 138, 249) | |
| CMYK | cmyk(52%, 45%, 0%, 2%) | — | |
| HSV | hsv(231, 52%, 98%) | — | |
| HWB | hwb(231 47% 2%) | color: hwb(231 47% 2%) | |
| OKLCH | oklch(0.6702 0.1646 273.82) | color: oklch(0.6702 0.1646 273.82) | |
| Lab | lab(60.73 23.49 -57.75) | color: lab(60.73 23.49 -57.75) | |
| LCH | lch(60.73 62.34 292.13) | color: lch(60.73 62.34 292.13) |
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)
#7F7FDE — rgb(127, 127, 222)
Deuteranopia (Green-blind)
#7E7DD8 — rgb(126, 125, 216)
Tritanopia (Blue-blind)
#78C9C4 — rgb(120, 201, 196)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(231, 91%, 72%);
text
color: hsl(231, 91%, 72%);
border
border: 2px solid hsl(231, 91%, 72%);
gradient light
background: linear-gradient(to right, hsl(231, 91%, 92%), hsl(231, 91%, 72%));
gradient dark
background: linear-gradient(to right, hsl(231, 91%, 72%), hsl(231, 91%, 52%))
hex
background-color: #778AF9;
tailwind
bg-[hsl(231,91%,72%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(231, 91%, 72%, 0.4);
css variable
--color-primary: hsl(231, 91%, 72%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(231, 91%, 72%)?
HEX: #778AF9 | RGB: rgb(119, 138, 249) | CMYK: 52%, 45%, 0%, 2% | HSV: 231°, 52%, 98%. Copy any format from the conversion table above.
What colors go well with #778AF9?
The complementary color is HSL(51, 91%, 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, 91%, 72%) in CSS?
As HSL: color: hsl(231, 91%, 72%); — As HEX: color: #778AF9; — As RGB: color: rgb(119, 138, 249); — Tailwind CSS: bg-[hsl(231,91%,72%)] — CSS variable: --color-primary: hsl(231, 91%, 72%);