HSL(205, 72%, 40%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(205,72%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(205, 72%, 40%) | color: hsl(205, 72%, 40%) | |
| HEX | #1D72AF | color: #1D72AF | |
| RGB | rgb(29, 114, 175) | color: rgb(29, 114, 175) | |
| CMYK | cmyk(83%, 35%, 0%, 31%) | — | |
| HSV | hsv(205, 83%, 69%) | — | |
| HWB | hwb(205 12% 31%) | color: hwb(205 12% 31%) | |
| OKLCH | oklch(0.5339 0.1229 245.51) | color: oklch(0.5339 0.1229 245.51) | |
| Lab | lab(46.16 -2.27 -39.29) | color: lab(46.16 -2.27 -39.29) | |
| LCH | lch(46.16 39.36 266.69) | color: lch(46.16 39.36 266.69) |
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)
#4243A0 — rgb(66, 67, 160)
Deuteranopia (Green-blind)
#3D379D — rgb(61, 55, 157)
Tritanopia (Blue-blind)
#219592 — rgb(33, 149, 146)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(205, 72%, 40%);
text
color: hsl(205, 72%, 40%);
border
border: 2px solid hsl(205, 72%, 40%);
gradient light
background: linear-gradient(to right, hsl(205, 72%, 60%), hsl(205, 72%, 40%));
gradient dark
background: linear-gradient(to right, hsl(205, 72%, 40%), hsl(205, 72%, 20%))
hex
background-color: #1D72AF;
tailwind
bg-[hsl(205,72%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(205, 72%, 40%, 0.4);
css variable
--color-primary: hsl(205, 72%, 40%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(205, 72%, 40%)?
HEX: #1D72AF | RGB: rgb(29, 114, 175) | CMYK: 83%, 35%, 0%, 31% | HSV: 205°, 83%, 69%. Copy any format from the conversion table above.
What colors go well with #1D72AF?
The complementary color is HSL(25, 72%, 40%). For a triadic harmony, use hues 205°, 325°, and 85°. For analogous combinations, try hues 175° and 235°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(205, 72%, 40%) in CSS?
As HSL: color: hsl(205, 72%, 40%); — As HEX: color: #1D72AF; — As RGB: color: rgb(29, 114, 175); — Tailwind CSS: bg-[hsl(205,72%,40%)] — CSS variable: --color-primary: hsl(205, 72%, 40%);