HSL(199, 92%, 21%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(199,92%,21%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(199, 92%, 21%) | color: hsl(199, 92%, 21%) | |
| HEX | #044867 | color: #044867 | |
| RGB | rgb(4, 72, 103) | color: rgb(4, 72, 103) | |
| CMYK | cmyk(96%, 30%, 0%, 60%) | — | |
| HSV | hsv(199, 96%, 40%) | — | |
| HWB | hwb(199 2% 60%) | color: hwb(199 2% 60%) | |
| OKLCH | oklch(0.3802 0.0799 236.18) | color: oklch(0.3802 0.0799 236.18) | |
| Lab | lab(28.48 -6.74 -23.44) | color: lab(28.48 -6.74 -23.44) | |
| LCH | lch(28.48 24.39 253.96) | color: lch(28.48 24.39 253.96) |
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)
#21225F — rgb(33, 34, 95)
Deuteranopia (Green-blind)
#1E185E — rgb(30, 24, 94)
Tritanopia (Blue-blind)
#075A58 — rgb(7, 90, 88)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(199, 92%, 21%);
text
color: hsl(199, 92%, 21%);
border
border: 2px solid hsl(199, 92%, 21%);
gradient light
background: linear-gradient(to right, hsl(199, 92%, 41%), hsl(199, 92%, 21%));
gradient dark
background: linear-gradient(to right, hsl(199, 92%, 21%), hsl(199, 92%, 1%))
hex
background-color: #044867;
tailwind
bg-[hsl(199,92%,21%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(199, 92%, 21%, 0.4);
css variable
--color-primary: hsl(199, 92%, 21%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(199, 92%, 21%)?
HEX: #044867 | RGB: rgb(4, 72, 103) | CMYK: 96%, 30%, 0%, 60% | HSV: 199°, 96%, 40%. Copy any format from the conversion table above.
What colors go well with #044867?
The complementary color is HSL(19, 92%, 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, 92%, 21%) in CSS?
As HSL: color: hsl(199, 92%, 21%); — As HEX: color: #044867; — As RGB: color: rgb(4, 72, 103); — Tailwind CSS: bg-[hsl(199,92%,21%)] — CSS variable: --color-primary: hsl(199, 92%, 21%);