HSL(248, 37%, 84%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(248,37%,84%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(248, 37%, 84%) | color: hsl(248, 37%, 84%) | |
| HEX | #CBC7E5 | color: #CBC7E5 | |
| RGB | rgb(203, 199, 229) | color: rgb(203, 199, 229) | |
| CMYK | cmyk(11%, 13%, 0%, 10%) | — | |
| HSV | hsv(248, 13%, 90%) | — | |
| HWB | hwb(248 78% 10%) | color: hwb(248 78% 10%) | |
| OKLCH | oklch(0.8423 0.0416 291.6) | color: oklch(0.8423 0.0416 291.6) | |
| Lab | lab(81.4 7.15 -14.34) | color: lab(81.4 7.15 -14.34) | |
| LCH | lch(81.4 16.02 296.5) | color: lch(81.4 16.02 296.5) |
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)
#C9C9DE — rgb(201, 201, 222)
Deuteranopia (Green-blind)
#CACADC — rgb(202, 202, 220)
Tritanopia (Blue-blind)
#CBD8D7 — rgb(203, 216, 215)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(248, 37%, 84%);
text
color: hsl(248, 37%, 84%);
border
border: 2px solid hsl(248, 37%, 84%);
gradient light
background: linear-gradient(to right, hsl(248, 37%, 100%), hsl(248, 37%, 84%));
gradient dark
background: linear-gradient(to right, hsl(248, 37%, 84%), hsl(248, 37%, 64%))
hex
background-color: #CBC7E5;
tailwind
bg-[hsl(248,37%,84%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(248, 37%, 84%, 0.4);
css variable
--color-primary: hsl(248, 37%, 84%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(248, 37%, 84%)?
HEX: #CBC7E5 | RGB: rgb(203, 199, 229) | CMYK: 11%, 13%, 0%, 10% | HSV: 248°, 13%, 90%. Copy any format from the conversion table above.
What colors go well with #CBC7E5?
The complementary color is HSL(68, 37%, 84%). For a triadic harmony, use hues 248°, 8°, and 128°. For analogous combinations, try hues 218° and 278°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(248, 37%, 84%) in CSS?
As HSL: color: hsl(248, 37%, 84%); — As HEX: color: #CBC7E5; — As RGB: color: rgb(203, 199, 229); — Tailwind CSS: bg-[hsl(248,37%,84%)] — CSS variable: --color-primary: hsl(248, 37%, 84%);