HSL(219, 75%, 17%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(219,75%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(219, 75%, 17%) | color: hsl(219, 75%, 17%) | |
| HEX | #0B224C | color: #0B224C | |
| RGB | rgb(11, 34, 76) | color: rgb(11, 34, 76) | |
| CMYK | cmyk(86%, 55%, 0%, 70%) | — | |
| HSV | hsv(219, 86%, 30%) | — | |
| HWB | hwb(219 4% 70%) | color: hwb(219 4% 70%) | |
| OKLCH | oklch(0.2619 0.0832 261.21) | color: oklch(0.2619 0.0832 261.21) | |
| Lab | lab(14.04 8.88 -28.57) | color: lab(14.04 8.88 -28.57) | |
| LCH | lch(14.04 29.92 287.27) | color: lch(14.04 29.92 287.27) |
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)
#151542 — rgb(21, 21, 66)
Deuteranopia (Green-blind)
#14123F — rgb(20, 18, 63)
Tritanopia (Blue-blind)
#0C3A38 — rgb(12, 58, 56)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(219, 75%, 17%);
text
color: hsl(219, 75%, 17%);
border
border: 2px solid hsl(219, 75%, 17%);
gradient light
background: linear-gradient(to right, hsl(219, 75%, 37%), hsl(219, 75%, 17%));
gradient dark
background: linear-gradient(to right, hsl(219, 75%, 17%), hsl(219, 75%, 0%))
hex
background-color: #0B224C;
tailwind
bg-[hsl(219,75%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(219, 75%, 17%, 0.4);
css variable
--color-primary: hsl(219, 75%, 17%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(219, 75%, 17%)?
HEX: #0B224C | RGB: rgb(11, 34, 76) | CMYK: 86%, 55%, 0%, 70% | HSV: 219°, 86%, 30%. Copy any format from the conversion table above.
What colors go well with #0B224C?
The complementary color is HSL(39, 75%, 17%). For a triadic harmony, use hues 219°, 339°, and 99°. For analogous combinations, try hues 189° and 249°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(219, 75%, 17%) in CSS?
As HSL: color: hsl(219, 75%, 17%); — As HEX: color: #0B224C; — As RGB: color: rgb(11, 34, 76); — Tailwind CSS: bg-[hsl(219,75%,17%)] — CSS variable: --color-primary: hsl(219, 75%, 17%);