HSL(226, 62%, 69%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(226,62%,69%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(226, 62%, 69%) | color: hsl(226, 62%, 69%) | |
| HEX | #7F96E1 | color: #7F96E1 | |
| RGB | rgb(127, 150, 225) | color: rgb(127, 150, 225) | |
| CMYK | cmyk(44%, 33%, 0%, 12%) | — | |
| HSV | hsv(226, 44%, 88%) | — | |
| HWB | hwb(226 49% 12%) | color: hwb(226 49% 12%) | |
| OKLCH | oklch(0.6862 0.1141 270.22) | color: oklch(0.6862 0.1141 270.22) | |
| Lab | lab(63.14 11.15 -40.64) | color: lab(63.14 11.15 -40.64) | |
| LCH | lch(63.14 42.14 285.34) | color: lch(63.14 42.14 285.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)
#8989CF — rgb(137, 137, 207)
Deuteranopia (Green-blind)
#8886CB — rgb(136, 134, 203)
Tritanopia (Blue-blind)
#80C1BD — rgb(128, 193, 189)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(226, 62%, 69%);
text
color: hsl(226, 62%, 69%);
border
border: 2px solid hsl(226, 62%, 69%);
gradient light
background: linear-gradient(to right, hsl(226, 62%, 89%), hsl(226, 62%, 69%));
gradient dark
background: linear-gradient(to right, hsl(226, 62%, 69%), hsl(226, 62%, 49%))
hex
background-color: #7F96E1;
tailwind
bg-[hsl(226,62%,69%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(226, 62%, 69%, 0.4);
css variable
--color-primary: hsl(226, 62%, 69%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(226, 62%, 69%)?
HEX: #7F96E1 | RGB: rgb(127, 150, 225) | CMYK: 44%, 33%, 0%, 12% | HSV: 226°, 44%, 88%. Copy any format from the conversion table above.
What colors go well with #7F96E1?
The complementary color is HSL(46, 62%, 69%). For a triadic harmony, use hues 226°, 346°, and 106°. For analogous combinations, try hues 196° and 256°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(226, 62%, 69%) in CSS?
As HSL: color: hsl(226, 62%, 69%); — As HEX: color: #7F96E1; — As RGB: color: rgb(127, 150, 225); — Tailwind CSS: bg-[hsl(226,62%,69%)] — CSS variable: --color-primary: hsl(226, 62%, 69%);