HSL(216, 72%, 48%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(216,72%,48%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(216, 72%, 48%) | color: hsl(216, 72%, 48%) | |
| HEX | #2269D3 | color: #2269D3 | |
| RGB | rgb(34, 105, 211) | color: rgb(34, 105, 211) | |
| CMYK | cmyk(84%, 50%, 0%, 17%) | — | |
| HSV | hsv(216, 84%, 83%) | — | |
| HWB | hwb(216 13% 17%) | color: hwb(216 13% 17%) | |
| OKLCH | oklch(0.5387 0.1779 258.97) | color: oklch(0.5387 0.1779 258.97) | |
| Lab | lab(45.83 17.74 -60.59) | color: lab(45.83 17.74 -60.59) | |
| LCH | lch(45.83 63.13 286.32) | color: lch(45.83 63.13 286.32) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#4141B9 — rgb(65, 65, 185)
Deuteranopia (Green-blind)
#3D37B3 — rgb(61, 55, 179)
Tritanopia (Blue-blind)
#26A5A1 — rgb(38, 165, 161)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(216, 72%, 48%);
text
color: hsl(216, 72%, 48%);
border
border: 2px solid hsl(216, 72%, 48%);
gradient light
background: linear-gradient(to right, hsl(216, 72%, 68%), hsl(216, 72%, 48%));
gradient dark
background: linear-gradient(to right, hsl(216, 72%, 48%), hsl(216, 72%, 28%))
hex
background-color: #2269D3;
tailwind
bg-[hsl(216,72%,48%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(216, 72%, 48%, 0.4);
css variable
--color-primary: hsl(216, 72%, 48%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(216, 72%, 48%)?
HEX: #2269D3 | RGB: rgb(34, 105, 211) | CMYK: 84%, 50%, 0%, 17% | HSV: 216°, 84%, 83%. Copy any format from the conversion table above.
What colors go well with #2269D3?
The complementary color is HSL(36, 72%, 48%). For a triadic harmony, use hues 216°, 336°, and 96°. For analogous combinations, try hues 186° and 246°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(216, 72%, 48%) in CSS?
As HSL: color: hsl(216, 72%, 48%); — As HEX: color: #2269D3; — As RGB: color: rgb(34, 105, 211); — Tailwind CSS: bg-[hsl(216,72%,48%)] — CSS variable: --color-primary: hsl(216, 72%, 48%);