HSL(208, 100%, 40%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(208,100%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(208, 100%, 40%) | color: hsl(208, 100%, 40%) | |
| HEX | #006DCC | color: #006DCC | |
| RGB | rgb(0, 109, 204) | color: rgb(0, 109, 204) | |
| CMYK | cmyk(100%, 47%, 0%, 20%) | — | |
| HSV | hsv(208, 100%, 80%) | — | |
| HWB | hwb(208 0% 20%) | color: hwb(208 0% 20%) | |
| OKLCH | oklch(0.5374 0.1689 253.6) | color: oklch(0.5374 0.1689 253.6) | |
| Lab | lab(46.04 10.76 -56.28) | color: lab(46.04 10.76 -56.28) | |
| LCH | lch(46.04 57.3 280.82) | color: lch(46.04 57.3 280.82) |
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)
#2F30B5 — rgb(47, 48, 181)
Deuteranopia (Green-blind)
#2921B0 — rgb(41, 33, 176)
Tritanopia (Blue-blind)
#05A39F — rgb(5, 163, 159)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(208, 100%, 40%);
text
color: hsl(208, 100%, 40%);
border
border: 2px solid hsl(208, 100%, 40%);
gradient light
background: linear-gradient(to right, hsl(208, 100%, 60%), hsl(208, 100%, 40%));
gradient dark
background: linear-gradient(to right, hsl(208, 100%, 40%), hsl(208, 100%, 20%))
hex
background-color: #006DCC;
tailwind
bg-[hsl(208,100%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(208, 100%, 40%, 0.4);
css variable
--color-primary: hsl(208, 100%, 40%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(208, 100%, 40%)?
HEX: #006DCC | RGB: rgb(0, 109, 204) | CMYK: 100%, 47%, 0%, 20% | HSV: 208°, 100%, 80%. Copy any format from the conversion table above.
What colors go well with #006DCC?
The complementary color is HSL(28, 100%, 40%). For a triadic harmony, use hues 208°, 328°, and 88°. For analogous combinations, try hues 178° and 238°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(208, 100%, 40%) in CSS?
As HSL: color: hsl(208, 100%, 40%); — As HEX: color: #006DCC; — As RGB: color: rgb(0, 109, 204); — Tailwind CSS: bg-[hsl(208,100%,40%)] — CSS variable: --color-primary: hsl(208, 100%, 40%);