HSL(225, 20%, 68%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(225,20%,68%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(225, 20%, 68%) | color: hsl(225, 20%, 68%) | |
| HEX | #9DA5BE | color: #9DA5BE | |
| RGB | rgb(157, 165, 190) | color: rgb(157, 165, 190) | |
| CMYK | cmyk(17%, 13%, 0%, 25%) | — | |
| HSV | hsv(225, 17%, 75%) | — | |
| HWB | hwb(225 62% 25%) | color: hwb(225 62% 25%) | |
| OKLCH | oklch(0.7238 0.0374 271.4) | color: oklch(0.7238 0.0374 271.4) | |
| Lab | lab(67.87 2.43 -13.77) | color: lab(67.87 2.43 -13.77) | |
| LCH | lch(67.87 13.98 280.01) | color: lch(67.87 13.98 280.01) |
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)
#A0A1B8 — rgb(160, 161, 184)
Deuteranopia (Green-blind)
#A09FB7 — rgb(160, 159, 183)
Tritanopia (Blue-blind)
#9DB3B2 — rgb(157, 179, 178)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(225, 20%, 68%);
text
color: hsl(225, 20%, 68%);
border
border: 2px solid hsl(225, 20%, 68%);
gradient light
background: linear-gradient(to right, hsl(225, 20%, 88%), hsl(225, 20%, 68%));
gradient dark
background: linear-gradient(to right, hsl(225, 20%, 68%), hsl(225, 20%, 48%))
hex
background-color: #9DA5BE;
tailwind
bg-[hsl(225,20%,68%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(225, 20%, 68%, 0.4);
css variable
--color-primary: hsl(225, 20%, 68%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(225, 20%, 68%)?
HEX: #9DA5BE | RGB: rgb(157, 165, 190) | CMYK: 17%, 13%, 0%, 25% | HSV: 225°, 17%, 75%. Copy any format from the conversion table above.
What colors go well with #9DA5BE?
The complementary color is HSL(45, 20%, 68%). For a triadic harmony, use hues 225°, 345°, and 105°. For analogous combinations, try hues 195° and 255°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(225, 20%, 68%) in CSS?
As HSL: color: hsl(225, 20%, 68%); — As HEX: color: #9DA5BE; — As RGB: color: rgb(157, 165, 190); — Tailwind CSS: bg-[hsl(225,20%,68%)] — CSS variable: --color-primary: hsl(225, 20%, 68%);