HSL(218, 30%, 85%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(218,30%,85%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(218, 30%, 85%) | color: hsl(218, 30%, 85%) | |
| HEX | #CDD6E4 | color: #CDD6E4 | |
| RGB | rgb(205, 214, 228) | color: rgb(205, 214, 228) | |
| CMYK | cmyk(10%, 6%, 0%, 11%) | — | |
| HSV | hsv(217, 10%, 89%) | — | |
| HWB | hwb(217 80% 11%) | color: hwb(217 80% 11%) | |
| OKLCH | oklch(0.8734 0.0217 259.19) | color: oklch(0.8734 0.0217 259.19) | |
| Lab | lab(85.34 -0.34 -7.92) | color: lab(85.34 -0.34 -7.92) | |
| LCH | lch(85.34 7.93 267.54) | color: lch(85.34 7.93 267.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)
#D1D1E1 — rgb(209, 209, 225)
Deuteranopia (Green-blind)
#D0D0E0 — rgb(208, 208, 224)
Tritanopia (Blue-blind)
#CDDEDD — rgb(205, 222, 221)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(218, 30%, 85%);
text
color: hsl(218, 30%, 85%);
border
border: 2px solid hsl(218, 30%, 85%);
gradient light
background: linear-gradient(to right, hsl(218, 30%, 100%), hsl(218, 30%, 85%));
gradient dark
background: linear-gradient(to right, hsl(218, 30%, 85%), hsl(218, 30%, 65%))
hex
background-color: #CDD6E4;
tailwind
bg-[hsl(218,30%,85%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(218, 30%, 85%, 0.4);
css variable
--color-primary: hsl(218, 30%, 85%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(218, 30%, 85%)?
HEX: #CDD6E4 | RGB: rgb(205, 214, 228) | CMYK: 10%, 6%, 0%, 11% | HSV: 217°, 10%, 89%. Copy any format from the conversion table above.
What colors go well with #CDD6E4?
The complementary color is HSL(38, 30%, 85%). For a triadic harmony, use hues 218°, 338°, and 98°. For analogous combinations, try hues 188° and 248°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(218, 30%, 85%) in CSS?
As HSL: color: hsl(218, 30%, 85%); — As HEX: color: #CDD6E4; — As RGB: color: rgb(205, 214, 228); — Tailwind CSS: bg-[hsl(218,30%,85%)] — CSS variable: --color-primary: hsl(218, 30%, 85%);