HSL(242, 40%, 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(242,40%,88%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(242, 40%, 88%) | color: hsl(242, 40%, 88%) | |
| HEX | #D5D4ED | color: #D5D4ED | |
| RGB | rgb(213, 212, 237) | color: rgb(213, 212, 237) | |
| CMYK | cmyk(10%, 11%, 0%, 7%) | — | |
| HSV | hsv(242, 11%, 93%) | — | |
| HWB | hwb(242 83% 7%) | color: hwb(242 83% 7%) | |
| OKLCH | oklch(0.8784 0.0342 287.51) | color: oklch(0.8784 0.0342 287.51) | |
| Lab | lab(85.68 5.09 -12.12) | color: lab(85.68 5.09 -12.12) | |
| LCH | lch(85.68 13.15 292.78) | color: lch(85.68 13.15 292.78) |
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)
#D5D5E7 — rgb(213, 213, 231)
Deuteranopia (Green-blind)
#D5D5E6 — rgb(213, 213, 230)
Tritanopia (Blue-blind)
#D5E2E1 — rgb(213, 226, 225)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(242, 40%, 88%);
text
color: hsl(242, 40%, 88%);
border
border: 2px solid hsl(242, 40%, 88%);
gradient light
background: linear-gradient(to right, hsl(242, 40%, 100%), hsl(242, 40%, 88%));
gradient dark
background: linear-gradient(to right, hsl(242, 40%, 88%), hsl(242, 40%, 68%))
hex
background-color: #D5D4ED;
tailwind
bg-[hsl(242,40%,88%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(242, 40%, 88%, 0.4);
css variable
--color-primary: hsl(242, 40%, 88%);
Related Colors
Use Cases for Very Light Blue
Frequently Asked Questions
What are all the color codes for HSL(242, 40%, 88%)?
HEX: #D5D4ED | RGB: rgb(213, 212, 237) | CMYK: 10%, 11%, 0%, 7% | HSV: 242°, 11%, 93%. Copy any format from the conversion table above.
What colors go well with #D5D4ED?
The complementary color is HSL(62, 40%, 88%). For a triadic harmony, use hues 242°, 2°, and 122°. For analogous combinations, try hues 212° and 272°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(242, 40%, 88%) in CSS?
As HSL: color: hsl(242, 40%, 88%); — As HEX: color: #D5D4ED; — As RGB: color: rgb(213, 212, 237); — Tailwind CSS: bg-[hsl(242,40%,88%)] — CSS variable: --color-primary: hsl(242, 40%, 88%);