HSL(199, 70%, 38%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(199,70%,38%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(199, 70%, 38%) | color: hsl(199, 70%, 38%) | |
| HEX | #1D7AA5 | color: #1D7AA5 | |
| RGB | rgb(29, 122, 165) | color: rgb(29, 122, 165) | |
| CMYK | cmyk(82%, 26%, 0%, 35%) | — | |
| HSV | hsv(199, 82%, 65%) | — | |
| HWB | hwb(199 12% 35%) | color: hwb(199 12% 35%) | |
| OKLCH | oklch(0.5479 0.1055 234.35) | color: oklch(0.5479 0.1055 234.35) | |
| Lab | lab(48.13 -10.76 -30.37) | color: lab(48.13 -10.76 -30.37) | |
| LCH | lch(48.13 32.22 250.49) | color: lch(48.13 32.22 250.49) |
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)
#45469B — rgb(69, 70, 155)
Deuteranopia (Green-blind)
#403998 — rgb(64, 57, 152)
Tritanopia (Blue-blind)
#229291 — rgb(34, 146, 145)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(199, 70%, 38%);
text
color: hsl(199, 70%, 38%);
border
border: 2px solid hsl(199, 70%, 38%);
gradient light
background: linear-gradient(to right, hsl(199, 70%, 58%), hsl(199, 70%, 38%));
gradient dark
background: linear-gradient(to right, hsl(199, 70%, 38%), hsl(199, 70%, 18%))
hex
background-color: #1D7AA5;
tailwind
bg-[hsl(199,70%,38%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(199, 70%, 38%, 0.4);
css variable
--color-primary: hsl(199, 70%, 38%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(199, 70%, 38%)?
HEX: #1D7AA5 | RGB: rgb(29, 122, 165) | CMYK: 82%, 26%, 0%, 35% | HSV: 199°, 82%, 65%. Copy any format from the conversion table above.
What colors go well with #1D7AA5?
The complementary color is HSL(19, 70%, 38%). For a triadic harmony, use hues 199°, 319°, and 79°. For analogous combinations, try hues 169° and 229°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(199, 70%, 38%) in CSS?
As HSL: color: hsl(199, 70%, 38%); — As HEX: color: #1D7AA5; — As RGB: color: rgb(29, 122, 165); — Tailwind CSS: bg-[hsl(199,70%,38%)] — CSS variable: --color-primary: hsl(199, 70%, 38%);