HSL(240, 42%, 88%)
Very Light Blue — Blue color
Adjust Color
Color Information
Color Name
Very Light Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(240,42%,88%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(240, 42%, 88%) | color: hsl(240, 42%, 88%) | |
| HEX | #D4D4ED | color: #D4D4ED | |
| RGB | rgb(212, 212, 237) | color: rgb(212, 212, 237) | |
| CMYK | cmyk(11%, 11%, 0%, 7%) | — | |
| HSV | hsv(240, 11%, 93%) | — | |
| HWB | hwb(240 83% 7%) | color: hwb(240 83% 7%) | |
| OKLCH | oklch(0.8776 0.0342 285.67) | color: oklch(0.8776 0.0342 285.67) | |
| Lab | lab(85.6 4.77 -12.24) | color: lab(85.6 4.77 -12.24) | |
| LCH | lch(85.6 13.14 291.29) | color: lch(85.6 13.14 291.29) |
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)
#D4D4E7 — rgb(212, 212, 231)
Deuteranopia (Green-blind)
#D4D4E6 — rgb(212, 212, 230)
Tritanopia (Blue-blind)
#D4E2E1 — rgb(212, 226, 225)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(240, 42%, 88%);
text
color: hsl(240, 42%, 88%);
border
border: 2px solid hsl(240, 42%, 88%);
gradient light
background: linear-gradient(to right, hsl(240, 42%, 100%), hsl(240, 42%, 88%));
gradient dark
background: linear-gradient(to right, hsl(240, 42%, 88%), hsl(240, 42%, 68%))
hex
background-color: #D4D4ED;
tailwind
bg-[hsl(240,42%,88%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(240, 42%, 88%, 0.4);
css variable
--color-primary: hsl(240, 42%, 88%);
Related Colors
Use Cases for Very Light Blue
Frequently Asked Questions
What are all the color codes for HSL(240, 42%, 88%)?
HEX: #D4D4ED | RGB: rgb(212, 212, 237) | CMYK: 11%, 11%, 0%, 7% | HSV: 240°, 11%, 93%. Copy any format from the conversion table above.
What colors go well with #D4D4ED?
The complementary color is HSL(60, 42%, 88%). For a triadic harmony, use hues 240°, 0°, and 120°. For analogous combinations, try hues 210° and 270°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(240, 42%, 88%) in CSS?
As HSL: color: hsl(240, 42%, 88%); — As HEX: color: #D4D4ED; — As RGB: color: rgb(212, 212, 237); — Tailwind CSS: bg-[hsl(240,42%,88%)] — CSS variable: --color-primary: hsl(240, 42%, 88%);