HSL(212, 40%, 68%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(212,40%,68%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(212, 40%, 68%) | color: hsl(212, 40%, 68%) | |
| HEX | #8DABCE | color: #8DABCE | |
| RGB | rgb(141, 171, 206) | color: rgb(141, 171, 206) | |
| CMYK | cmyk(32%, 17%, 0%, 19%) | — | |
| HSV | hsv(212, 32%, 81%) | — | |
| HWB | hwb(212 55% 19%) | color: hwb(212 55% 19%) | |
| OKLCH | oklch(0.7311 0.0609 252.54) | color: oklch(0.7311 0.0609 252.54) | |
| Lab | lab(68.93 -2.02 -21.13) | color: lab(68.93 -2.02 -21.13) | |
| LCH | lch(68.93 21.23 264.54) | color: lch(68.93 21.23 264.54) |
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)
#9A9AC6 — rgb(154, 154, 198)
Deuteranopia (Green-blind)
#9896C4 — rgb(152, 150, 196)
Tritanopia (Blue-blind)
#8FBFBD — rgb(143, 191, 189)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(212, 40%, 68%);
text
color: hsl(212, 40%, 68%);
border
border: 2px solid hsl(212, 40%, 68%);
gradient light
background: linear-gradient(to right, hsl(212, 40%, 88%), hsl(212, 40%, 68%));
gradient dark
background: linear-gradient(to right, hsl(212, 40%, 68%), hsl(212, 40%, 48%))
hex
background-color: #8DABCE;
tailwind
bg-[hsl(212,40%,68%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(212, 40%, 68%, 0.4);
css variable
--color-primary: hsl(212, 40%, 68%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(212, 40%, 68%)?
HEX: #8DABCE | RGB: rgb(141, 171, 206) | CMYK: 32%, 17%, 0%, 19% | HSV: 212°, 32%, 81%. Copy any format from the conversion table above.
What colors go well with #8DABCE?
The complementary color is HSL(32, 40%, 68%). For a triadic harmony, use hues 212°, 332°, and 92°. For analogous combinations, try hues 182° and 242°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(212, 40%, 68%) in CSS?
As HSL: color: hsl(212, 40%, 68%); — As HEX: color: #8DABCE; — As RGB: color: rgb(141, 171, 206); — Tailwind CSS: bg-[hsl(212,40%,68%)] — CSS variable: --color-primary: hsl(212, 40%, 68%);