HSL(199, 100%, 21%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(199,100%,21%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(199, 100%, 21%) | color: hsl(199, 100%, 21%) | |
| HEX | #00496B | color: #00496B | |
| RGB | rgb(0, 73, 107) | color: rgb(0, 73, 107) | |
| CMYK | cmyk(100%, 32%, 0%, 58%) | — | |
| HSV | hsv(199, 100%, 42%) | — | |
| HWB | hwb(199 0% 58%) | color: hwb(199 0% 58%) | |
| OKLCH | oklch(0.3846 0.0848 237.64) | color: oklch(0.3846 0.0848 237.64) | |
| Lab | lab(28.97 -6.04 -25.22) | color: lab(28.97 -6.04 -25.22) | |
| LCH | lch(28.97 25.93 256.53) | color: lch(28.97 25.93 256.53) |
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)
#202063 — rgb(32, 32, 99)
Deuteranopia (Green-blind)
#1B1661 — rgb(27, 22, 97)
Tritanopia (Blue-blind)
#045C5B — rgb(4, 92, 91)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(199, 100%, 21%);
text
color: hsl(199, 100%, 21%);
border
border: 2px solid hsl(199, 100%, 21%);
gradient light
background: linear-gradient(to right, hsl(199, 100%, 41%), hsl(199, 100%, 21%));
gradient dark
background: linear-gradient(to right, hsl(199, 100%, 21%), hsl(199, 100%, 1%))
hex
background-color: #00496B;
tailwind
bg-[hsl(199,100%,21%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(199, 100%, 21%, 0.4);
css variable
--color-primary: hsl(199, 100%, 21%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(199, 100%, 21%)?
HEX: #00496B | RGB: rgb(0, 73, 107) | CMYK: 100%, 32%, 0%, 58% | HSV: 199°, 100%, 42%. Copy any format from the conversion table above.
What colors go well with #00496B?
The complementary color is HSL(19, 100%, 21%). 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, 100%, 21%) in CSS?
As HSL: color: hsl(199, 100%, 21%); — As HEX: color: #00496B; — As RGB: color: rgb(0, 73, 107); — Tailwind CSS: bg-[hsl(199,100%,21%)] — CSS variable: --color-primary: hsl(199, 100%, 21%);