HSL(205, 70%, 38%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(205,70%,38%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(205, 70%, 38%) | color: hsl(205, 70%, 38%) | |
| HEX | #1D6CA5 | color: #1D6CA5 | |
| RGB | rgb(29, 108, 165) | color: rgb(29, 108, 165) | |
| CMYK | cmyk(82%, 35%, 0%, 35%) | — | |
| HSV | hsv(205, 82%, 65%) | — | |
| HWB | hwb(205 12% 35%) | color: hwb(205 12% 35%) | |
| OKLCH | oklch(0.5136 0.1163 245.35) | color: oklch(0.5136 0.1163 245.35) | |
| Lab | lab(43.8 -2.43 -37.17) | color: lab(43.8 -2.43 -37.17) | |
| LCH | lch(43.8 37.25 266.26) | color: lch(43.8 37.25 266.26) |
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)
#3F4097 — rgb(63, 64, 151)
Deuteranopia (Green-blind)
#3B3594 — rgb(59, 53, 148)
Tritanopia (Blue-blind)
#218C8A — rgb(33, 140, 138)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(205, 70%, 38%);
text
color: hsl(205, 70%, 38%);
border
border: 2px solid hsl(205, 70%, 38%);
gradient light
background: linear-gradient(to right, hsl(205, 70%, 58%), hsl(205, 70%, 38%));
gradient dark
background: linear-gradient(to right, hsl(205, 70%, 38%), hsl(205, 70%, 18%))
hex
background-color: #1D6CA5;
tailwind
bg-[hsl(205,70%,38%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(205, 70%, 38%, 0.4);
css variable
--color-primary: hsl(205, 70%, 38%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(205, 70%, 38%)?
HEX: #1D6CA5 | RGB: rgb(29, 108, 165) | CMYK: 82%, 35%, 0%, 35% | HSV: 205°, 82%, 65%. Copy any format from the conversion table above.
What colors go well with #1D6CA5?
The complementary color is HSL(25, 70%, 38%). 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, 70%, 38%) in CSS?
As HSL: color: hsl(205, 70%, 38%); — As HEX: color: #1D6CA5; — As RGB: color: rgb(29, 108, 165); — Tailwind CSS: bg-[hsl(205,70%,38%)] — CSS variable: --color-primary: hsl(205, 70%, 38%);