HSL(206, 98%, 17%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(206,98%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(206, 98%, 17%) | color: hsl(206, 98%, 17%) | |
| HEX | #013156 | color: #013156 | |
| RGB | rgb(1, 49, 86) | color: rgb(1, 49, 86) | |
| CMYK | cmyk(99%, 43%, 0%, 66%) | — | |
| HSV | hsv(206, 99%, 34%) | — | |
| HWB | hwb(206 0% 66%) | color: hwb(206 0% 66%) | |
| OKLCH | oklch(0.306 0.0818 248.24) | color: oklch(0.306 0.0818 248.24) | |
| Lab | lab(19.53 1.07 -26.53) | color: lab(19.53 1.07 -26.53) | |
| LCH | lch(19.53 26.55 272.31) | color: lch(19.53 26.55 272.31) |
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)
#16164D — rgb(22, 22, 77)
Deuteranopia (Green-blind)
#130F4B — rgb(19, 15, 75)
Tritanopia (Blue-blind)
#034644 — rgb(3, 70, 68)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(206, 98%, 17%);
text
color: hsl(206, 98%, 17%);
border
border: 2px solid hsl(206, 98%, 17%);
gradient light
background: linear-gradient(to right, hsl(206, 98%, 37%), hsl(206, 98%, 17%));
gradient dark
background: linear-gradient(to right, hsl(206, 98%, 17%), hsl(206, 98%, 0%))
hex
background-color: #013156;
tailwind
bg-[hsl(206,98%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(206, 98%, 17%, 0.4);
css variable
--color-primary: hsl(206, 98%, 17%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(206, 98%, 17%)?
HEX: #013156 | RGB: rgb(1, 49, 86) | CMYK: 99%, 43%, 0%, 66% | HSV: 206°, 99%, 34%. Copy any format from the conversion table above.
What colors go well with #013156?
The complementary color is HSL(26, 98%, 17%). For a triadic harmony, use hues 206°, 326°, and 86°. For analogous combinations, try hues 176° and 236°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(206, 98%, 17%) in CSS?
As HSL: color: hsl(206, 98%, 17%); — As HEX: color: #013156; — As RGB: color: rgb(1, 49, 86); — Tailwind CSS: bg-[hsl(206,98%,17%)] — CSS variable: --color-primary: hsl(206, 98%, 17%);