HSL(229, 76%, 74%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(229,76%,74%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(229, 76%, 74%) | color: hsl(229, 76%, 74%) | |
| HEX | #8A9DEF | color: #8A9DEF | |
| RGB | rgb(138, 157, 239) | color: rgb(138, 157, 239) | |
| CMYK | cmyk(42%, 34%, 0%, 6%) | — | |
| HSV | hsv(229, 42%, 94%) | — | |
| HWB | hwb(229 55% 6%) | color: hwb(229 55% 6%) | |
| OKLCH | oklch(0.7147 0.1218 273.04) | color: oklch(0.7147 0.1218 273.04) | |
| Lab | lab(66.33 13.85 -43.32) | color: lab(66.33 13.85 -43.32) | |
| LCH | lch(66.33 45.48 287.73) | color: lch(66.33 45.48 287.73) |
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)
#9292DB — rgb(146, 146, 219)
Deuteranopia (Green-blind)
#9190D6 — rgb(145, 144, 214)
Tritanopia (Blue-blind)
#8BCBC8 — rgb(139, 203, 200)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(229, 76%, 74%);
text
color: hsl(229, 76%, 74%);
border
border: 2px solid hsl(229, 76%, 74%);
gradient light
background: linear-gradient(to right, hsl(229, 76%, 94%), hsl(229, 76%, 74%));
gradient dark
background: linear-gradient(to right, hsl(229, 76%, 74%), hsl(229, 76%, 54%))
hex
background-color: #8A9DEF;
tailwind
bg-[hsl(229,76%,74%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(229, 76%, 74%, 0.4);
css variable
--color-primary: hsl(229, 76%, 74%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(229, 76%, 74%)?
HEX: #8A9DEF | RGB: rgb(138, 157, 239) | CMYK: 42%, 34%, 0%, 6% | HSV: 229°, 42%, 94%. Copy any format from the conversion table above.
What colors go well with #8A9DEF?
The complementary color is HSL(49, 76%, 74%). For a triadic harmony, use hues 229°, 349°, and 109°. For analogous combinations, try hues 199° and 259°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(229, 76%, 74%) in CSS?
As HSL: color: hsl(229, 76%, 74%); — As HEX: color: #8A9DEF; — As RGB: color: rgb(138, 157, 239); — Tailwind CSS: bg-[hsl(229,76%,74%)] — CSS variable: --color-primary: hsl(229, 76%, 74%);